42 references to ERR_UnexpectedArgumentList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2123or ErrorCode.ERR_UnexpectedArgumentList
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
658diagnostics.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)
22006Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 16) 22043Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 23), 22081Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(8, 19) 30058Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 20), 30061Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 21), 30088Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 26), 30091Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 27), 30213Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 13), 30216Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 14) 30289Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(5, 13)); 30308Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(5, 20)); 30327Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(5, 13));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\RecordStructTests.cs (8)
10743Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 27), 10746Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(X)").WithLocation(10, 28) 10770Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 20), 10773Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 21) 10797Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(6, 13), 10800Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0)").WithLocation(10, 14) 10825Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(0, 1)").WithLocation(2, 33), 10831Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "()").WithLocation(5, 33),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\UnionParsingTests.cs (1)
563Diagnostic(ErrorCode.ERR_UnexpectedArgumentList, "(1)").WithLocation(1, 18)