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)
2229
or ErrorCode.
ERR_LambdaExplicitReturnTypeVar
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\LambdaTests.cs (11)
5770
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 13),
5776
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 17),
5807
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 13),
5810
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(9, 17));
5836
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11),
5839
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 15));
5869
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(11, 11),
5872
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(12, 15));
5896
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11));
5919
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(6, 11));
5941
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11),