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
,
2946
return
CurrentMethodScope
;
3542
return
CurrentMethodScope
;
3955
if (escapeTo <
CurrentMethodScope
)
Binder\RefSafetyAnalysis.cs (2)
102
_localScopeDepth =
CurrentMethodScope
- 1;
402
CurrentMethodScope
;