1 write to Index
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LocalVariables.cs (1)
39Index = 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); 3144IStrongBox box = frame.Closure![_parameter.Index]; 3149var box = (IStrongBox)frame.Data[_parameter.Index]!; 3154frame.Data[_parameter.Index] = value;
System\Linq\Expressions\Interpreter\LocalVariables.cs (3)
44string.Create(CultureInfo.InvariantCulture, $"{Index}: {(IsBoxed ? "boxed" : null)} {(InClosure ? "in closure" : null)}"); 91return new LocalDefinition(result.Index, variable); 131instructions.SwitchToBoxed(local.Index, i);
System\Linq\Expressions\Interpreter\TypeOperations.cs (2)
639return _frame.Closure![var.Index]; 643return (IStrongBox?)_frame.Data[var.Index];