23 references to WRN_MethGrpToNonDel
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (1)
686
Error(diagnostics, ErrorCode.
WRN_MethGrpToNonDel
, syntax, ((BoundMethodGroup)source).Name, destination);
Errors\ErrorFacts.cs (2)
500
case ErrorCode.
WRN_MethGrpToNonDel
:
2171
case ErrorCode.
WRN_MethGrpToNonDel
:
Generated\ErrorFacts.Generated.cs (1)
282
case ErrorCode.
WRN_MethGrpToNonDel
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Semantics\PatternMatchingTests4.cs (2)
109
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "M1").WithArguments("M1", "object").WithLocation(6, 18),
115
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "M1").WithArguments("M1", "object").WithLocation(9, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\DelegateTypeTests.cs (7)
144
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "Main").WithArguments("Main", "object").WithLocation(6, 20));
1508
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(6, 20),
1511
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "GetValue").WithArguments("GetValue", "object").WithLocation(7, 13)
1554
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(4, 27),
1557
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 33)
1597
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 30),
1600
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 44)
Semantics\InterpolationTests.cs (1)
1007
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "Program.Main").WithArguments("Main", "object").WithLocation(6, 35),
Semantics\NullableReferenceTypesTests.cs (3)
77242
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(5, 11),
77270
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(5, 46));
77485
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "F").WithArguments("F", "object").WithLocation(6, 18),
Semantics\RawInterpolationTests.cs (1)
1006
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "Program.Main").WithArguments("Main", "object").WithLocation(6, 37),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\ExtensionMethodTests.cs (1)
1453
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "o.E").WithArguments("E", "object").WithLocation(5, 16));
Symbols\Source\PropertyTests.cs (3)
2052
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "B2.P").WithArguments("P", "object").WithLocation(6, 13),
2055
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "b.Q").WithArguments("Q", "object").WithLocation(8, 13));
2110
Diagnostic(ErrorCode.
WRN_MethGrpToNonDel
, "a.P").WithArguments("P", "object").WithLocation(6, 13));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
383
case ErrorCode.
WRN_MethGrpToNonDel
: