24 references to ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2550
or ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
648
diagnostics.Add(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, primaryConstructorBaseType.ArgumentList.Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (22)
Semantics\PrimaryConstructorTests.cs (12)
92
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "()").WithLocation(3, 5));
389
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "()").WithLocation(3, 7),
397
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "()").WithLocation(3, 7));
402
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "()").WithLocation(3, 7));
1490
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(13, 15)
1536
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(17, 23)
1589
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(13, 23),
1592
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(17, 23)
1651
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(17, 23)
1740
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(13, 23)
1939
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X)").WithLocation(11, 15)
2418
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 15),
Semantics\RecordTests.cs (10)
21538
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(13, 16)
21584
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(17, 24)
21637
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(13, 24),
21640
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(17, 24)
21699
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(17, 24)
21788
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X, Y)").WithLocation(13, 24)
21987
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(X)").WithLocation(11, 16)
22504
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(GetInt(X, out var xx) + xx, Y)").WithLocation(11, 16),
30270
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(1)").WithLocation(2, 15));
30287
Diagnostic(ErrorCode.
ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList
, "(42)").WithLocation(2, 21));