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, 3697return SafeContext.CurrentMethod; 4375return SafeContext.CurrentMethod; 5033if (!SafeContext.CurrentMethod.IsConvertibleTo(escapeTo))
Binder\RefSafetyAnalysis.cs (3)
88_localScopeDepth = SafeContext.CurrentMethod; 226: (SafeContext.CurrentMethod, SafeContext.CallingMethod); 512SafeContext.CurrentMethod;