1 instantiation of HoistedLocals
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
300
_hoistedLocals = new
HoistedLocals
(_closureHoistedLocals, hoistedVars);
16 references to HoistedLocals
System.Linq.Expressions (16)
System\Linq\Expressions\Compiler\CompilerScope.cs (8)
83
private
HoistedLocals
? _hoistedLocals;
88
private
HoistedLocals
? _closureHoistedLocals;
113
internal
HoistedLocals
? NearestHoistedLocals
182
HoistedLocals
? locals = NearestHoistedLocals;
244
private Storage ResolveVariable(ParameterExpression variable,
HoistedLocals
? hoistedLocals)
262
for (
HoistedLocals
? h = hoistedLocals; h != null; h = h.Parent)
409
private void EmitClosureAccess(LambdaCompiler lc,
HoistedLocals
? locals)
427
private void EmitClosureToVariable(LambdaCompiler lc,
HoistedLocals
locals)
System\Linq\Expressions\Compiler\HoistedLocals.cs (2)
48
internal readonly
HoistedLocals
? Parent;
59
internal HoistedLocals(
HoistedLocals
? parent, ReadOnlyCollection<ParameterExpression> vars)
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (5)
29
var quoter = new ExpressionQuoter((
HoistedLocals
)hoistedLocals, locals);
54
private readonly
HoistedLocals
_scope;
62
internal ExpressionQuoter(
HoistedLocals
scope, object[] locals)
194
HoistedLocals
? scope = _scope;
208
locals =
HoistedLocals
.GetParent(locals);
System\Runtime\CompilerServices\RuntimeOps.RuntimeVariableList.cs (1)
108
result =
HoistedLocals
.GetParent(result);