54 references to ERR_UnexpectedArgumentList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2060
case ErrorCode.
ERR_UnexpectedArgumentList
:
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
635
diagnostics.Add(ErrorCode.
ERR_UnexpectedArgumentList
, primaryConstructorBaseType.ArgumentList.Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (52)
Semantics\PrimaryConstructorTests.cs (27)
89
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 5)
96
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 5)
103
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 5)
188
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
195
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
202
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
249
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
256
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
263
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
283
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 7),
293
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 7)
300
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 7)
1251
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 15)
1297
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 23)
1350
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 23),
1353
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 23)
1412
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 23)
1501
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 23)
1700
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(11, 15)
1740
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 23)
1780
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 22),
2179
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 15),
2311
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 23)
2350
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0, 1)").WithLocation(2, 26),
2356
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(5, 26),
2502
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
2505
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)
Semantics\RecordStructTests.cs (8)
10676
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 27),
10679
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 28)
10703
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 20),
10706
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 21)
10730
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
10733
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)
10758
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0, 1)").WithLocation(2, 33),
10764
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(5, 33),
Semantics\RecordTests.cs (17)
21444
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 16)
21490
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 24)
21543
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 24),
21546
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 24)
21605
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 24)
21694
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 24)
21893
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(11, 16)
21930
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(8, 16)
21967
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(8, 23),
22005
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(8, 19)
22410
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 16),
29968
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 20),
29971
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 21),
29998
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 26),
30001
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 27),
30123
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
30126
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)