5 references to ERR_RefReadonly2
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
3349ErrorCode.ERR_RefReadonly2,
Errors\ErrorFacts.cs (1)
1310or ErrorCode.ERR_RefReadonly2
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\FixedSizeBufferTests.cs (1)
404Diagnostic(ErrorCode.ERR_RefReadonly2, "c.field.x[0]").WithArguments("S1.field").WithLocation(19, 27)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RefLocalsAndReturnsTests.cs (1)
2182Diagnostic(ErrorCode.ERR_RefReadonly2, "i2.x").WithArguments("Test.i2").WithLocation(72, 33),
Semantics\SemanticErrorTests.cs (1)
15733Diagnostic(ErrorCode.ERR_RefReadonly2, "outer.inner.i").WithArguments("Outer.inner").WithLocation(21, 15)