54 references to ERR_UnexpectedArgumentList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2117
or ErrorCode.
ERR_UnexpectedArgumentList
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
635
diagnostics.Add(ErrorCode.
ERR_UnexpectedArgumentList
, primaryConstructorBaseType.ArgumentList.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (44)
Semantics\PrimaryConstructorTests.cs (27)
90
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 5)
97
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 5)
104
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 5)
189
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
196
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
203
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
250
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
257
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
264
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(4, 7)
284
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 7),
294
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 7)
301
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(3, 7)
1360
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 15)
1406
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 23)
1459
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 23),
1462
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 23)
1521
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 23)
1610
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 23)
1809
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(11, 15)
1849
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 23)
1889
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 22),
2288
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 15),
2420
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(10, 23)
2459
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0, 1)").WithLocation(2, 26),
2465
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(5, 26),
2611
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "()").WithLocation(6, 13),
2614
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(0)").WithLocation(10, 14)
Semantics\RecordTests.cs (17)
21538
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 16)
21584
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 24)
21637
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 24),
21640
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 24)
21699
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(17, 24)
21788
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X, Y)").WithLocation(13, 24)
21987
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(X)").WithLocation(11, 16)
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)
22504
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentList
, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 16),
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)
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),