Table of Contents

Method GetIntOrNull

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

GetIntOrNull(Instruction)

Get the integer value pushed onto the stack with this instruction.
public static int? GetIntOrNull(this Instruction instr)

Parameters

instr Instruction
The instruction to get the pushed integer value for.

Returns

int?
The pushed integer value or null.