how about naming the other one typeflagfixup  or something simillar  and leave this as typeflag  having suffix is a bit ugly alternatively  you could consider making this a static creator function  sideeffect createfromtype since it seems that you only use it when creating side effects 