17 writes to InstructionIndex
System.Linq.Expressions (17)
System\Linq\Expressions\Interpreter\ControlFlowInstructions.cs (13)
295frame.InstructionIndex++; 306frame.InstructionIndex = index; 314frame.InstructionIndex += instructions[index].Run(frame); 320frame.InstructionIndex += frame.Goto(exHandler.LabelIndex, unwrappedException, gotoExceptionHandler: true); 340frame.InstructionIndex = index; 348frame.InstructionIndex += instructions[index].Run(frame); 376int index = frame.InstructionIndex = _tryHandler.FinallyStartIndex; 380frame.InstructionIndex = index; 422frame.InstructionIndex++; 441frame.InstructionIndex = index; 451frame.InstructionIndex += instructions[index].Run(frame); 459int index = frame.InstructionIndex = _tryHandler.FinallyStartIndex; 463frame.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)
294int prevInstrIndex = frame.InstructionIndex; 302int index = frame.InstructionIndex; 336int index = frame.InstructionIndex; 372Debug.Assert(!isFromJump || (isFromJump && _tryHandler.FinallyStartIndex == frame.InstructionIndex), "we should already jump to the first instruction of the finally"); 385return frame.InstructionIndex - prevInstrIndex; 421int prevInstrIndex = frame.InstructionIndex; 437int index = frame.InstructionIndex; 468return frame.InstructionIndex - prevInstrIndex; 695return 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;