private static bool IsPublicOrProtected(ushort methFlags) { return (methFlags & (ushort)MethAttr.Public) == (ushort)MethAttr.Public || (methFlags & (ushort)MethAttr.Family) == (ushort)MethAttr.Family; }