13 references to ERR_LambdaExplicitReturnTypeVar
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Lambda.cs (1)
290
diagnostics.Add(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, syntax.Location);
Errors\ErrorFacts.cs (1)
2172
case ErrorCode.
ERR_LambdaExplicitReturnTypeVar
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\LambdaTests.cs (11)
5734
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 13),
5740
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 17),
5771
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 13),
5774
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(9, 17));
5800
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11),
5803
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(8, 15));
5833
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(11, 11),
5836
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(12, 15));
5860
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11));
5883
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(6, 11));
5905
Diagnostic(ErrorCode.
ERR_LambdaExplicitReturnTypeVar
, "var").WithLocation(7, 11),