4 references to ERR_RefReadonlyPrimaryConstructorParameter2
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
1214
errorCode = ErrorCode.
ERR_RefReadonlyPrimaryConstructorParameter2
;
Errors\ErrorFacts.cs (1)
2356
or ErrorCode.
ERR_RefReadonlyPrimaryConstructorParameter2
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\PrimaryConstructorTests.cs (2)
15394
Diagnostic(ErrorCode.
ERR_RefReadonlyPrimaryConstructorParameter2
, "x.F").WithArguments("S2 x").WithLocation(4, 25),
15397
Diagnostic(ErrorCode.
ERR_RefReadonlyPrimaryConstructorParameter2
, "x.F").WithArguments("S2 x").WithLocation(7, 25)