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