11 references to GetRefEscape
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (6)
1492return GetRefEscape(fieldAccess.ReceiverOpt, localScopeDepth); 3389return GetRefEscape(conditional.Consequence, localScopeDepth) 3390.Intersect(GetRefEscape(conditional.Alternative, localScopeDepth)); 3416return GetRefEscape(eventAccess.ReceiverOpt, localScopeDepth); 3579return GetRefEscape(assignment.Left, localScopeDepth); 4599? GetRefEscape(assignment.Right, localScopeDepth)
Binder\Binder_Statements.cs (2)
1552var leftEscape = GetRefEscape(op1, _localScopeDepth); 1553var rightEscape = GetRefEscape(op2, _localScopeDepth);
Binder\RefSafetyAnalysis.cs (3)
493GetRefEscape(initializer, _localScopeDepth).IsConvertibleTo(refEscapeScope)); 508refEscapeScope = GetRefEscape(initializer, _localScopeDepth); 722valEscapeScope = receiver.GetRefKind().IsWritableReference() ? GetRefEscape(receiver, _localScopeDepth) : GetValEscape(receiver, _localScopeDepth);