6 references to GetLocalScopes
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder.ValueChecks.cs (5)
1317
if (
GetLocalScopes
(localSymbol).RefEscapeScope.IsConvertibleTo(escapeTo))
3103
GetLocalScopes
(local).ValEscapeScope.IsCallingMethod)
3714
return
GetLocalScopes
(((BoundLocal)expr).LocalSymbol).RefEscapeScope;
4359
return
GetLocalScopes
(((BoundLocal)expr).LocalSymbol).ValEscapeScope;
5019
if (!
GetLocalScopes
(localSymbol).ValEscapeScope.IsConvertibleTo(escapeTo))
Binder\RefSafetyAnalysis.cs (1)
526
(SafeContext refEscapeScope, SafeContext valEscapeScope) =
GetLocalScopes
(localSymbol);