7 references to ERR_PartialMethodInExpressionTree
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1103
or ErrorCode.
ERR_PartialMethodInExpressionTree
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
326
Error(ErrorCode.
ERR_PartialMethodInExpressionTree
, node);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\ObjectAndCollectionInitializerTests.cs (2)
3326
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "1").WithLocation(15, 56),
3329
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "new C().M(1)").WithLocation(16, 38)
Semantics\SemanticErrorTests.cs (3)
12100
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "1"),
12103
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "2"),
12106
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "ConClass.TestMethod()"));