6 references to GetLocalScopes
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder.ValueChecks.cs (5)
1070
if (
GetLocalScopes
(localSymbol).RefEscapeScope.IsConvertibleTo(escapeTo))
2748
GetLocalScopes
(local).ValEscapeScope.IsCallingMethod)
3372
return
GetLocalScopes
(((BoundLocal)expr).LocalSymbol).RefEscapeScope;
4087
return
GetLocalScopes
(((BoundLocal)expr).LocalSymbol).ValEscapeScope;
4785
if (!
GetLocalScopes
(localSymbol).ValEscapeScope.IsConvertibleTo(escapeTo))
Binder\RefSafetyAnalysis.cs (1)
485
(SafeContext refEscapeScope, SafeContext valEscapeScope) =
GetLocalScopes
(localSymbol);