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