2 overrides of DeclaredScope
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.QueryUnboundLambdaState.cs (1)
51
public override ScopedKind
DeclaredScope
(int index) => ScopedKind.None;
BoundTree\UnboundLambda.cs (1)
1504
public override ScopedKind
DeclaredScope
(int index)
3 references to DeclaredScope
Microsoft.CodeAnalysis.CSharp (3)
BoundTree\UnboundLambda.cs (3)
473
public ScopedKind DeclaredScope(int index) { return Data.
DeclaredScope
(index); }
639
var scope =
DeclaredScope
(i);
708
if (
DeclaredScope
(i) == ScopedKind.None && parameterScopesBuilder[i] == ScopedKind.ScopedRef && _unboundLambda.ParameterAttributes(i).Any())