4 references to ERR_ExpressionTreeMustHaveDelegate
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
2075conversionError(diagnostics, ErrorCode.ERR_ExpressionTreeMustHaveDelegate, ((NamedTypeSymbol)targetType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type);
Errors\ErrorFacts.cs (1)
1122or ErrorCode.ERR_ExpressionTreeMustHaveDelegate
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\LambdaTests.cs (1)
244Diagnostic(ErrorCode.ERR_ExpressionTreeMustHaveDelegate, "=>").WithArguments("int").WithLocation(72, 33));
Semantics\SemanticErrorTests.cs (1)
12628new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.ERR_ExpressionTreeMustHaveDelegate, Line = 8, Column = 31 } });