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