4 references to ERR_AssgReadonlyPrimaryConstructorParameter2
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
1218
errorCode = ErrorCode.
ERR_AssgReadonlyPrimaryConstructorParameter2
;
Errors\ErrorFacts.cs (1)
2354
or ErrorCode.
ERR_AssgReadonlyPrimaryConstructorParameter2
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\PrimaryConstructorTests.cs (2)
15014
Diagnostic(ErrorCode.
ERR_AssgReadonlyPrimaryConstructorParameter2
, "x.F").WithArguments("S2 x").WithLocation(6, 9)
15551
Diagnostic(ErrorCode.
ERR_AssgReadonlyPrimaryConstructorParameter2
, "x.F").WithArguments("S2 x").WithLocation(6, 9)