22 references to WRN_ParamsArrayInLambdaOnly
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Conversions.cs (1)
2395Error(diagnostics, ErrorCode.WRN_ParamsArrayInLambdaOnly, lambdaParameter.GetFirstLocation(), p + 1);
Errors\ErrorFacts.cs (2)
543case ErrorCode.WRN_ParamsArrayInLambdaOnly: 2343or ErrorCode.WRN_ParamsArrayInLambdaOnly
Generated\ErrorFacts.Generated.cs (1)
314case ErrorCode.WRN_ParamsArrayInLambdaOnly:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\ParamsCollectionTests.cs (3)
2751Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "x").WithArguments("1").WithLocation(7, 72) 2783Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "x").WithArguments("1").WithLocation(5, 50) 2805Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "x").WithArguments("1").WithLocation(5, 50)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\DelegateTypeTests.cs (8)
19271Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(1, 45)); 19612Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(5, 26)); 19653Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(5, 27)); 19724Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(16, 37)); 19765Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(16, 45)); 19806Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(16, 43)); 19843Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "xs").WithArguments("1").WithLocation(7, 24)); 19861Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "c").WithArguments("3").WithLocation(1, 40));
Semantics\LambdaTests.cs (3)
232Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "s").WithArguments("1").WithLocation(67, 49), 235Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "s").WithArguments("2").WithLocation(68, 61), 8648Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "a").WithArguments("1"));
Semantics\SimpleLambdaParametersWithModifiersTests.cs (3)
925Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "x").WithArguments("1").WithLocation(7, 23)); 1030Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "x").WithArguments("1").WithLocation(7, 27)); 1065Diagnostic(ErrorCode.WRN_ParamsArrayInLambdaOnly, "x").WithArguments("1").WithLocation(7, 27));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
304case ErrorCode.WRN_ParamsArrayInLambdaOnly: