41 references to ERR_UnexpectedArgumentList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2116or ErrorCode.ERR_UnexpectedArgumentList
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
644diagnostics.Add(ErrorCode.ERR_UnexpectedArgumentList, primaryConstructorBaseType.ArgumentList.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (31)
Semantics\PrimaryConstructorTests.cs (19)
146Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(2, 5)); 167Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(2, 5)); 191Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(2, 5)); 296Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 303Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 310Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 357Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 364Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 371Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(4, 7) 419Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(2, 7), 427Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(2, 7)); 432Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(2, 7)); 1979Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 23) 2019Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 22), 2550Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 23) 2589Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0, 1)").WithLocation(2, 26), 2595Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(5, 26), 2741Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 13), 2744Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 14)
Semantics\RecordTests.cs (12)
22024Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 16) 22061Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 23), 22099Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 19) 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) 30325Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(5, 13)); 30344Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(5, 20)); 30363Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(5, 13));
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),