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