12 references to ERR_InvalidPrimaryConstructorParameterReference
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
1921
Error(diagnostics, ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, node, parameter);
Errors\ErrorFacts.cs (1)
2293
case ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\PrimaryConstructorTests.cs (5)
2565
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "X").WithArguments("int X").WithLocation(6, 20)
2599
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "X").WithArguments("int X").WithLocation(6, 19),
7254
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "p1").WithArguments("int p1").WithLocation(2000, 1)
10187
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "Color").WithArguments("Color Color").WithLocation(4, 20)
10252
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "Color").WithArguments("Color Color").WithLocation(4, 33)
Semantics\RecordStructTests.cs (2)
2623
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "X").WithArguments("int X").WithLocation(4, 20)
2654
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "X").WithArguments("int X").WithLocation(4, 19),
Semantics\RecordTests.cs (3)
24683
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "X").WithArguments("int X").WithLocation(4, 20)
24714
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "X").WithArguments("int X").WithLocation(4, 19),
29543
Diagnostic(ErrorCode.
ERR_InvalidPrimaryConstructorParameterReference
, "P").WithArguments("int P").WithLocation(8, 19),