54 references to ERR_UnexpectedArgumentList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2117or ErrorCode.ERR_UnexpectedArgumentList
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
635diagnostics.Add(ErrorCode.ERR_UnexpectedArgumentList, primaryConstructorBaseType.ArgumentList.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (44)
Semantics\PrimaryConstructorTests.cs (27)
90Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(3, 5) 97Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(3, 5) 104Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(3, 5) 189Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 196Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 203Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 250Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 257Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 264Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 284Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(3, 7), 294Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(3, 7) 301Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(3, 7) 1360Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(13, 15) 1406Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(17, 23) 1459Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(13, 23), 1462Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(17, 23) 1521Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(17, 23) 1610Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(13, 23) 1809Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(11, 15) 1849Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 23) 1889Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 22), 2288Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 15), 2420Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 23) 2459Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0, 1)").WithLocation(2, 26), 2465Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(5, 26), 2611Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 13), 2614Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 14)
Semantics\RecordTests.cs (17)
21538Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(13, 16) 21584Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(17, 24) 21637Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(13, 24), 21640Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(17, 24) 21699Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(17, 24) 21788Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X, Y)").WithLocation(13, 24) 21987Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(11, 16) 22024Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 16) 22061Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 23), 22099Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 19) 22504Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 16), 30094Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 20), 30097Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 21), 30124Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 26), 30127Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 27), 30249Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 13), 30252Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 14)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\RecordStructTests.cs (8)
10746Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 27), 10749Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 28) 10773Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 20), 10776Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 21) 10800Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 13), 10803Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 14) 10828Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0, 1)").WithLocation(2, 33), 10834Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(5, 33),