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)
1561public override ScopedKind DeclaredScope(int index)
4 references to DeclaredScope
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\UnboundLambda.cs (4)
488public ScopedKind DeclaredScope(int index) { return Data.DeclaredScope(index); } 680var scope = DeclaredScope(i); 765if (((DeclaredScope(i) == ScopedKind.None && parameterScopesBuilder[i] == ScopedKind.ScopedRef) || 766DeclaredScope(i) == ScopedKind.ScopedValue || parameterScopesBuilder[i] == ScopedKind.ScopedValue) &&