7 references to ERR_PartialMethodInExpressionTree
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1041
case ErrorCode.
ERR_PartialMethodInExpressionTree
:
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
314
Error(ErrorCode.
ERR_PartialMethodInExpressionTree
, node);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\ObjectAndCollectionInitializerTests.cs (2)
3307
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "1").WithLocation(15, 56),
3310
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "new C().M(1)").WithLocation(16, 38)
Semantics\SemanticErrorTests.cs (3)
12050
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "1"),
12053
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "2"),
12056
Diagnostic(ErrorCode.
ERR_PartialMethodInExpressionTree
, "ConClass.TestMethod()"));