8 references to CurrentMethodScope
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (6)
1036{ EffectiveScope: ScopedKind.ScopedValue } => CurrentMethodScope, 1049{ RefKind: RefKind.None } => CurrentMethodScope, 1050{ EffectiveScope: ScopedKind.ScopedRef } => CurrentMethodScope, 2946return CurrentMethodScope; 3542return CurrentMethodScope; 3955if (escapeTo < CurrentMethodScope)
Binder\RefSafetyAnalysis.cs (2)
102_localScopeDepth = CurrentMethodScope - 1; 402CurrentMethodScope;