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