22 references to WRN_ParamsArrayInLambdaOnly
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (1)
2395
Error(diagnostics, ErrorCode.
WRN_ParamsArrayInLambdaOnly
, lambdaParameter.GetFirstLocation(), p + 1);
Errors\ErrorFacts.cs (2)
543
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
2343
or ErrorCode.
WRN_ParamsArrayInLambdaOnly
Generated\ErrorFacts.Generated.cs (1)
314
case ErrorCode.
WRN_ParamsArrayInLambdaOnly
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ParamsCollectionTests.cs (3)
2751
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(7, 72)
2783
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(5, 50)
2805
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "x").WithArguments("1").WithLocation(5, 50)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\DelegateTypeTests.cs (8)
19271
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(1, 45));
19612
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(5, 26));
19653
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(5, 27));
19724
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 37));
19765
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 45));
19806
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(16, 43));
19843
Diagnostic(ErrorCode.
WRN_ParamsArrayInLambdaOnly
, "xs").WithArguments("1").WithLocation(7, 24));
19861
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),
8648
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
: