private static void TooManyAccessMods(SequencePoint point, Modifiers mods) { var all = ModifierUtils.GetAccess(); ErrorCode.InvalidMethodMods.ReportAndThrow(point, "Only one of {0} is allowed, {1} found", all, mods | all); }