43 references to ERR_IllegalVarArgs
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Lambda.cs (1)
175
Error(diagnostics, ErrorCode.
ERR_IllegalVarArgs
, p);
Errors\ErrorFacts.cs (1)
1328
or ErrorCode.
ERR_IllegalVarArgs
Symbols\Source\LocalFunctionSymbol.cs (1)
215
diagnostics.Add(ErrorCode.
ERR_IllegalVarArgs
, arglistToken.GetLocation());
Symbols\Source\ParameterHelpers.cs (1)
289
diagnostics.Add(ErrorCode.
ERR_IllegalVarArgs
, arglistToken.GetLocation());
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
278
diagnostics.Add(ErrorCode.
ERR_IllegalVarArgs
, new SourceLocation(arglistToken));
Symbols\Source\SourcePropertySymbol.cs (1)
642
diagnostics.Add(ErrorCode.
ERR_IllegalVarArgs
, arglistToken.GetLocation());
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
337
diagnostics.Add(ErrorCode.
ERR_IllegalVarArgs
, new SourceLocation(arglistToken));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (18)
Semantics\ExtensionOperatorsTests.cs (5)
2069
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
8227
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
13646
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
16031
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
24347
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
Semantics\ExtensionTests.cs (5)
3945
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(5, 15));
3969
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
4877
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15)
4892
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15)
32248
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(8, 15)
Semantics\ExtensionTests2.cs (5)
5699
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(4, 15));
21468
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15));
27659
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15),
27662
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(4, 15));
27682
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15));
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (3)
5363
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(5, 29)
16824
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(4, 29)
16862
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(4, 36)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\ArglistTests.cs (5)
543
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(5, 26),
546
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(6, 23),
549
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(7, 23),
552
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(8, 24),
605
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"));
Semantics\InterceptorsTests.cs (1)
9572
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15));
Semantics\LocalFunctionTests.cs (3)
3543
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(24, 20),
3549
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(32, 20),
3771
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(9, 32));
Semantics\SemanticErrorTests.cs (4)
16216
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist")
16237
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"),
16241
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"),
16245
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist")
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\Source\ClsComplianceTests.cs (4)
1078
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"),
1081
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"),
1084
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"),
1087
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist"));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\ExtensionsParsingTests.cs (1)
4767
Diagnostic(ErrorCode.
ERR_IllegalVarArgs
, "__arglist").WithLocation(3, 15));