15 references to WRN_ParamsArrayInLambdaOnly
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (1)
846
Error(diagnostics, ErrorCode.
WRN_ParamsArrayInLambdaOnly
, lambdaParameter.Locations[0], p + 1);
Errors\ErrorFacts.cs (2)
530
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
2288
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
Generated\ErrorFacts.Generated.cs (1)
314
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\DelegateTypeTests.cs (8)
15836
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(1, 45));
16177
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(5, 26));
16218
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(5, 27));
16289
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 37));
16330
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 45));
16371
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 43));
16408
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(7, 24));
16426
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "c").WithArguments("3").WithLocation(1, 40));
Semantics\LambdaTests.cs (2)
235
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "s").WithArguments("1").WithLocation(67, 49),
238
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "s").WithArguments("2").WithLocation(68, 61),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
304
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
: