11 references to CurrentMethodScope
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (8)
1255{ EffectiveScope: ScopedKind.ScopedValue } => CurrentMethodScope, 1268{ RefKind: RefKind.None } => CurrentMethodScope, 1269{ EffectiveScope: ScopedKind.ScopedRef } => CurrentMethodScope, 3378return CurrentMethodScope; 4119return CurrentMethodScope; 4356CurrentMethodScope : 4817if (escapeTo < CurrentMethodScope) 5126if (HasLocalScope((BoundCollectionExpression)conversion.Operand) && escapeTo < CurrentMethodScope)
Binder\RefSafetyAnalysis.cs (3)
86_localScopeDepth = CurrentMethodScope - 1; 182: (CurrentMethodScope, CallingMethodScope); 451CurrentMethodScope;