28 references to ERR_PartialMethodWithExtendedModMustHaveAccessMods
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2072
or ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
861
diagnostics.Add(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, location, this);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (26)
Symbols\DefaultInterfaceImplementationTests.cs (6)
11352
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M10").WithArguments("I1.M10()").WithLocation(22, 32),
11422
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M10").WithArguments("I1.M10()").WithLocation(22, 32),
11473
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("I1.M1()").WithLocation(4, 25),
11479
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M3").WithArguments("I1.M3()").WithLocation(6, 26),
11485
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M4").WithArguments("I1.M4()").WithLocation(15, 25),
11500
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M6").WithArguments("I1.M6()").WithLocation(17, 26),
Symbols\ExtendedPartialMethodsTests.cs (14)
407
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("C.M1()").WithLocation(4, 26),
410
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("C.M1()").WithLocation(5, 26)
717
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(9, 27),
723
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(10, 27)
769
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(9, 27),
941
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(8, 34),
947
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(9, 34)
1096
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("C.M1()").WithLocation(9, 32)
1492
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(9, 22),
1495
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M1").WithArguments("D.M1()").WithLocation(10, 22)
2049
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M").WithArguments("I.M()").WithLocation(6, 18),
2052
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M").WithArguments("I.M()").WithLocation(8, 18)
2199
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M").WithArguments("I.M()").WithLocation(4, 18),
2202
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M").WithArguments("I.M()").WithLocation(6, 18)
Symbols\StaticAbstractMembersInInterfacesTests.cs (1)
1169
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "M01").WithArguments("I1.M01()").WithLocation(4, 33)
Symbols\SymbolErrorTests.cs (5)
14097
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "PartE").WithArguments("C.PartE()").WithLocation(23, 26),
14103
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "PartG").WithArguments("C.PartG()").WithLocation(25, 27),
14106
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "PartH").WithArguments("C.PartH()").WithLocation(26, 22),
14109
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "PartI").WithArguments("C.PartI()").WithLocation(27, 34),
14112
Diagnostic(ErrorCode.
ERR_PartialMethodWithExtendedModMustHaveAccessMods
, "PartJ").WithArguments("C.PartJ()").WithLocation(29, 25),