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