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