9 references to CurrentMethod
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.ValueChecks.cs (6)
1483
{ EffectiveScope: ScopedKind.ScopedValue } => SafeContext.
CurrentMethod
,
1496
{ RefKind: RefKind.None } => SafeContext.
CurrentMethod
,
1497
{ EffectiveScope: ScopedKind.ScopedRef } => SafeContext.
CurrentMethod
,
3697
return SafeContext.
CurrentMethod
;
4375
return SafeContext.
CurrentMethod
;
5033
if (!SafeContext.
CurrentMethod
.IsConvertibleTo(escapeTo))
Binder\RefSafetyAnalysis.cs (3)
88
_localScopeDepth = SafeContext.
CurrentMethod
;
226
: (SafeContext.
CurrentMethod
, SafeContext.CallingMethod);
512
SafeContext.
CurrentMethod
;