22 references to WRN_ParamsArrayInLambdaOnly
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (1)
2377
Error(diagnostics, ErrorCode.
WRN_ParamsArrayInLambdaOnly
, lambdaParameter.GetFirstLocation(), p + 1);
Errors\ErrorFacts.cs (2)
542
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
2341
or ErrorCode.
WRN_ParamsArrayInLambdaOnly
Generated\ErrorFacts.Generated.cs (1)
313
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ParamsCollectionTests.cs (3)
2741
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(7, 72)
2773
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(5, 50)
2795
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(5, 50)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\DelegateTypeTests.cs (8)
19245
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(1, 45));
19594
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(5, 26));
19635
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(5, 27));
19706
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 37));
19747
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 45));
19788
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 43));
19825
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(7, 24));
19843
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "c").WithArguments("3").WithLocation(1, 40));
Semantics\LambdaTests.cs (3)
232
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "s").WithArguments("1").WithLocation(67, 49),
235
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "s").WithArguments("2").WithLocation(68, 61),
8975
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "a").WithArguments("1"));
Semantics\SimpleLambdaParametersWithModifiersTests.cs (3)
925
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(7, 23));
1030
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(7, 27));
1065
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(7, 27));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
304
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
: