5 references to IsWritableReference
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder.ValueChecks.cs (3)
116
Debug.Assert(parameter.RefKind.
IsWritableReference
() && parameter.Type.IsRefLikeOrAllowsRefLikeType());
2385
parameter.RefKind.
IsWritableReference
();
2419
Debug.Assert(!getArgument.RefKind.
IsWritableReference
());
Binder\RefSafetyAnalysis.cs (1)
697
valEscapeScope = receiver.GetRefKind().
IsWritableReference
() ? GetRefEscape(receiver, _localScopeDepth) : GetValEscape(receiver, _localScopeDepth);
FlowAnalysis\AbstractFlowPass.cs (1)
1443
if (thisRefKind.
IsWritableReference
())