1 write to Index
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LocalVariables.cs (1)
39
Index
= index;
19 references to Index
System.Linq.Expressions (19)
System\Linq\Expressions\Interpreter\LightCompiler.cs (14)
434
_instructions.EmitLoadLocalFromClosure(local.
Index
);
438
_instructions.EmitLoadLocalBoxed(local.
Index
);
442
_instructions.EmitLoadLocal(local.
Index
);
457
_instructions.EmitLoadLocalFromClosureBoxed(local.
Index
);
462
_instructions.EmitLoadLocal(local.
Index
);
476
_instructions.EmitStoreLocalToClosure(local.
Index
);
480
_instructions.EmitAssignLocalToClosure(local.
Index
);
487
_instructions.EmitStoreLocalBoxed(local.
Index
);
491
_instructions.EmitAssignLocalBoxed(local.
Index
);
498
_instructions.EmitStoreLocal(local.
Index
);
502
_instructions.EmitAssignLocal(local.
Index
);
3144
IStrongBox box = frame.Closure![_parameter.
Index
];
3149
var box = (IStrongBox)frame.Data[_parameter.
Index
]!;
3154
frame.Data[_parameter.
Index
] = value;
System\Linq\Expressions\Interpreter\LocalVariables.cs (3)
44
string.Create(CultureInfo.InvariantCulture, $"{
Index
}: {(IsBoxed ? "boxed" : null)} {(InClosure ? "in closure" : null)}");
91
return new LocalDefinition(result.
Index
, variable);
131
instructions.SwitchToBoxed(local.
Index
, i);
System\Linq\Expressions\Interpreter\TypeOperations.cs (2)
639
return _frame.Closure![var.
Index
];
643
return (IStrongBox?)_frame.Data[var.
Index
];