Method EmitNewobj
EmitNewobj(MethodReference)
Emits a Newobj opcode with a MethodReference operand to the current cursor position.
public ILCursor EmitNewobj(MethodReference operand)
Parameters
operand
MethodReference- The emitted instruction's operand.
Returns
EmitNewobj(MethodBase)
Emits a Newobj opcode with a MethodBase operand to the current cursor position.
public ILCursor EmitNewobj(MethodBase operand)
Parameters
operand
MethodBase- The emitted instruction's operand. Will be automatically converted to a MethodReference.