5 references to IsWritableReference
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder.ValueChecks.cs (3)
116
Debug.Assert(parameter.RefKind.
IsWritableReference
() && parameter.Type.IsRefLikeOrAllowsRefLikeType());
2362
parameter.RefKind.
IsWritableReference
();
2396
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
())