41 references to ERR_UnexpectedArgumentList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2116
or ErrorCode.
ERR_UnexpectedArgumentList
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
644
diagnostics.Add(ErrorCode.
ERR_UnexpectedArgumentList
, primaryConstructorBaseType.ArgumentList.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (31)
Semantics\PrimaryConstructorTests.cs (19)
146
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(2, 5));
167
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(2, 5));
191
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(2, 5));
296
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
303
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
310
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
357
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
364
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
371
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
419
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(2, 7),
427
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(2, 7));
432
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(2, 7));
1979
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 23)
2019
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 22),
2550
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 23)
2589
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0, 1)").WithLocation(2, 26),
2595
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(5, 26),
2741
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
2744
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)
Semantics\RecordTests.cs (12)
22024
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(8, 16)
22061
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(8, 23),
22099
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(8, 19)
30094
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 20),
30097
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 21),
30124
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 26),
30127
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 27),
30249
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
30252
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)
30325
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(5, 13));
30344
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(5, 20));
30363
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(5, 13));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\RecordStructTests.cs (8)
10746
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 27),
10749
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 28)
10773
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 20),
10776
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 21)
10800
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
10803
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)
10828
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0, 1)").WithLocation(2, 33),
10834
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(5, 33),