Method EmitBox
EmitBox(TypeReference)
Emits a Box opcode with a TypeReference operand to the current cursor position.
public ILCursor EmitBox(TypeReference operand)
Parameters
operandTypeReference- The emitted instruction's operand.
Returns
EmitBox(Type)
public ILCursor EmitBox(Type operand)
Parameters
operandType- The emitted instruction's operand. Will be automatically converted to a TypeReference.