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
,
3378
return
CurrentMethodScope
;
4119
return
CurrentMethodScope
;
4356
CurrentMethodScope
:
4817
if (escapeTo <
CurrentMethodScope
)
5126
if (HasLocalScope((BoundCollectionExpression)conversion.Operand) && escapeTo <
CurrentMethodScope
)
Binder\RefSafetyAnalysis.cs (3)
86
_localScopeDepth =
CurrentMethodScope
- 1;
182
: (
CurrentMethodScope
, CallingMethodScope);
451
CurrentMethodScope
;