7 references to ERR_PartialMethodToDelegate
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
3043
Error(diagnostics, ErrorCode.
ERR_PartialMethodToDelegate
, syntax.Location, selectedMethod);
Errors\ErrorFacts.cs (1)
1100
or ErrorCode.
ERR_PartialMethodToDelegate
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\SemanticErrorTests.cs (3)
12012
new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.
ERR_PartialMethodToDelegate
, Line = 11, Column = 38 } });
12035
Diagnostic(ErrorCode.
ERR_PartialMethodToDelegate
, "M2<int>").WithArguments("Program.M2<int>()").WithLocation(6, 12));
12058
Diagnostic(ErrorCode.
ERR_PartialMethodToDelegate
, "C<int>.M3").WithArguments("C<int>.M3()").WithLocation(6, 12));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\DefaultInterfaceImplementationTests.cs (2)
11559
Diagnostic(ErrorCode.
ERR_PartialMethodToDelegate
, "M1").WithArguments("I1.M1()").WithLocation(9, 27),
11562
Diagnostic(ErrorCode.
ERR_PartialMethodToDelegate
, "M2").WithArguments("I1.M2()").WithLocation(10, 27),