13 references to ERR_LambdaExplicitReturnTypeVar
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Lambda.cs (1)
299
diagnostics.Add(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, syntax.Location);
Errors\ErrorFacts.cs (1)
2227
or ErrorCode.
ERR_LambdaExplicitReturnTypeVar
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\LambdaTests.cs (11)
5763
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 13),
5769
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 17),
5800
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 13),
5803
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(9, 17));
5829
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11),
5832
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 15));
5862
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(11, 11),
5865
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(12, 15));
5889
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11));
5912
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(6, 11));
5934
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11),