Method GetNextInstruction
GetNextInstruction(Instruction)
Gets the instruction that follows a given instruction in a block
public Instruction? GetNextInstruction(Instruction instruction)
Parameters
instruction
Instructioninstruction in the block to get the next instruction from
Returns
- Instruction
Next instruction or null if none
Exceptions
- ArgumentException
Thrown when is from a different block