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