4 references to ERR_RefReadonlyNotField2
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
2875
ErrorCode.
ERR_RefReadonlyNotField2
,
Errors\ErrorFacts.cs (1)
1787
case ErrorCode.
ERR_RefReadonlyNotField2
:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenInParametersTests.cs (1)
1211
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)