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