4 references to ERR_RefReadonlyNotField2
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
3387
ErrorCode.
ERR_RefReadonlyNotField2
,
Errors\ErrorFacts.cs (1)
1847
or ErrorCode.
ERR_RefReadonlyNotField2
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenInParametersTests.cs (1)
1241
Diagnostic(ErrorCode.
ERR_RefReadonlyNotField2
, "arg2.Alice").WithArguments("variable", "arg2").WithLocation(7, 25));
CodeGen\CodeGenRefReadonlyReturnTests.cs (1)
645
Diagnostic(ErrorCode.
ERR_RefReadonlyNotField2
, "P1.Alice").WithArguments("property", "P1").WithLocation(9, 26)