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