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