17 writes to InstructionIndex
System.Linq.Expressions (17)
System\Linq\Expressions\Interpreter\ControlFlowInstructions.cs (13)
301frame.InstructionIndex++; 312frame.InstructionIndex = index; 320frame.InstructionIndex += instructions[index].Run(frame); 326frame.InstructionIndex += frame.Goto(exHandler.LabelIndex, unwrappedException, gotoExceptionHandler: true); 346frame.InstructionIndex = index; 354frame.InstructionIndex += instructions[index].Run(frame); 382int index = frame.InstructionIndex = _tryHandler.FinallyStartIndex; 386frame.InstructionIndex = index; 428frame.InstructionIndex++; 447frame.InstructionIndex = index; 457frame.InstructionIndex += instructions[index].Run(frame); 465int index = frame.InstructionIndex = _tryHandler.FinallyStartIndex; 469frame.InstructionIndex = index;
System\Linq\Expressions\Interpreter\Interpreter.cs (1)
63frame.InstructionIndex = index;
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
149frame.InstructionIndex = index; 154frame.InstructionIndex = index; 175frame.InstructionIndex = frameIndex;
16 references to InstructionIndex
System.Linq.Expressions (16)
System\Linq\Expressions\Interpreter\ControlFlowInstructions.cs (9)
300int prevInstrIndex = frame.InstructionIndex; 308int index = frame.InstructionIndex; 342int index = frame.InstructionIndex; 378Debug.Assert(!isFromJump || (isFromJump && _tryHandler.FinallyStartIndex == frame.InstructionIndex), "we should already jump to the first instruction of the finally"); 391return frame.InstructionIndex - prevInstrIndex; 427int prevInstrIndex = frame.InstructionIndex; 443int index = frame.InstructionIndex; 474return frame.InstructionIndex - prevInstrIndex; 701return GetLabel(frame).Index - frame.InstructionIndex;
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (5)
138yield return new InterpretedFrameInfo(frame.Name, frame.GetDebugInfo(frame.InstructionIndex)); 205return target.Index - InstructionIndex; 221return currentTarget.Index - InstructionIndex; 233return pendingTarget.Index - InstructionIndex; 265return target.Index - InstructionIndex;
System\Linq\Expressions\Interpreter\Interpreter.cs (1)
59int index = frame.InstructionIndex;
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
145int frameIndex = frame.InstructionIndex;