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