4 references to ERR_RefReturnReadonly
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
3342
ErrorCode.
ERR_RefReturnReadonly
,
Errors\ErrorFacts.cs (1)
1784
or ErrorCode.
ERR_RefReturnReadonly
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RefLocalsAndReturnsTests.cs (2)
2179
Diagnostic(ErrorCode.
ERR_RefReturnReadonly
, "i1").WithLocation(68, 24),
4050
Diagnostic(ErrorCode.
ERR_RefReturnReadonly
, "i").WithLocation(8, 20)