16 references to GetRefEscape
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder.ValueChecks.cs (11)
1750
return
GetRefEscape
(fieldAccess.ReceiverOpt, localScopeDepth);
2263
(true, true) =>
GetRefEscape
(argument, localScopeDepth),
2319
GetRefEscape
(argument, localScopeDepth) :
2348
?
GetRefEscape
(argument, localScopeDepth)
3289
?
GetRefEscape
(fromArg, localScopeDepth)
3740
return
GetRefEscape
(conditional.Consequence, localScopeDepth)
3741
.Intersect(
GetRefEscape
(conditional.Alternative, localScopeDepth));
3767
return
GetRefEscape
(eventAccess.ReceiverOpt, localScopeDepth);
3899
return
GetRefEscape
(assignment.Right, localScopeDepth);
4869
?
GetRefEscape
(assignment.Right, localScopeDepth)
4941
?
GetRefEscape
(escapeValue.Argument, localScopeDepth)
Binder\Binder_Statements.cs (2)
1569
var leftEscape =
GetRefEscape
(op1, _localScopeDepth);
1570
var rightEscape =
GetRefEscape
(op2, _localScopeDepth);
Binder\RefSafetyAnalysis.cs (3)
554
GetRefEscape
(initializer, _localScopeDepth).IsConvertibleTo(refEscapeScope));
569
refEscapeScope =
GetRefEscape
(initializer, _localScopeDepth);
899
valEscapeScope = receiver.GetRefKind().IsWritableReference() ?
GetRefEscape
(receiver, _localScopeDepth) : GetValEscape(receiver, _localScopeDepth);