2 overrides of DeclaredScope
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.QueryUnboundLambdaState.cs (1)
50
public override ScopedKind
DeclaredScope
(int index) => ScopedKind.None;
BoundTree\UnboundLambda.cs (1)
1561
public override ScopedKind
DeclaredScope
(int index)
4 references to DeclaredScope
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\UnboundLambda.cs (4)
488
public ScopedKind DeclaredScope(int index) { return Data.
DeclaredScope
(index); }
680
var scope =
DeclaredScope
(i);
765
if (((
DeclaredScope
(i) == ScopedKind.None && parameterScopesBuilder[i] == ScopedKind.ScopedRef) ||
766
DeclaredScope
(i) == ScopedKind.ScopedValue || parameterScopesBuilder[i] == ScopedKind.ScopedValue) &&