15 references to GetRefEscape
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder.ValueChecks.cs (10)
1525
return
GetRefEscape
(fieldAccess.ReceiverOpt, localScopeDepth);
2058
(true, true) =>
GetRefEscape
(argument, localScopeDepth),
2126
GetRefEscape
(argument, localScopeDepth) :
3046
?
GetRefEscape
(fromArg, localScopeDepth)
3497
return
GetRefEscape
(conditional.Consequence, localScopeDepth)
3498
.Intersect(
GetRefEscape
(conditional.Alternative, localScopeDepth));
3524
return
GetRefEscape
(eventAccess.ReceiverOpt, localScopeDepth);
3687
return
GetRefEscape
(assignment.Left, localScopeDepth);
4755
?
GetRefEscape
(assignment.Right, localScopeDepth)
4823
?
GetRefEscape
(escapeValue.Argument, localScopeDepth)
Binder\Binder_Statements.cs (2)
1564
var leftEscape =
GetRefEscape
(op1, _localScopeDepth);
1565
var rightEscape =
GetRefEscape
(op2, _localScopeDepth);
Binder\RefSafetyAnalysis.cs (3)
493
GetRefEscape
(initializer, _localScopeDepth).IsConvertibleTo(refEscapeScope));
508
refEscapeScope =
GetRefEscape
(initializer, _localScopeDepth);
762
valEscapeScope = receiver.GetRefKind().IsWritableReference() ?
GetRefEscape
(receiver, _localScopeDepth) : GetValEscape(receiver, _localScopeDepth);