4 references to ERR_ExpressionTreeMustHaveDelegate
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2030
Error(diagnostics, ErrorCode.
ERR_ExpressionTreeMustHaveDelegate
, syntax, ((NamedTypeSymbol)targetType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type);
Errors\ErrorFacts.cs (1)
1060
case ErrorCode.
ERR_ExpressionTreeMustHaveDelegate
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LambdaTests.cs (1)
247
Diagnostic(ErrorCode.
ERR_ExpressionTreeMustHaveDelegate
, "()=>1").WithArguments("int").WithLocation(72, 31));
Semantics\SemanticErrorTests.cs (1)
12578
new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.
ERR_ExpressionTreeMustHaveDelegate
, Line = 8, Column = 29 } });