2 instantiations of VariableScope
System.Linq.Expressions (2)
System\Linq\Expressions\Interpreter\LocalVariables.cs (2)
81newScope = new VariableScope(result, start, existing); 87newScope = new VariableScope(result, start, parent: null);
11 references to VariableScope
System.Linq.Expressions (11)
System\Linq\Expressions\Interpreter\LocalVariables.cs (11)
68private readonly HybridReferenceDictionary<ParameterExpression, VariableScope> _variables = new HybridReferenceDictionary<ParameterExpression, VariableScope>(); 78VariableScope? existing, newScope; 82existing.ChildScopes ??= new List<VariableScope>(); 96VariableScope scope = _variables[definition.Parameter]; 112VariableScope scope = _variables[variable]; 124VariableScope child = scope.ChildScopes[curChild]; 139if (_variables.TryGetValue(var, out VariableScope? scope)) 174public readonly VariableScope? Parent; 175public List<VariableScope>? ChildScopes; 177public VariableScope(LocalVariable variable, int start, VariableScope? parent)