Table of Contents

Class ConvHandler

Namespace
Echo.Platforms.AsmResolver.Emulation.Dispatch.Misc
Assembly
Echo.Platforms.AsmResolver.dll

Implements a CIL instruction handler for conversion operations.

[DispatcherTableEntry(new CilCode[] { CilCode.Conv_I, CilCode.Conv_I1, CilCode.Conv_I2, CilCode.Conv_I4, CilCode.Conv_I8, CilCode.Conv_U, CilCode.Conv_U1, CilCode.Conv_U2, CilCode.Conv_U4, CilCode.Conv_U8, CilCode.Conv_R4, CilCode.Conv_R8, CilCode.Conv_R_Un, CilCode.Conv_Ovf_I, CilCode.Conv_Ovf_I1, CilCode.Conv_Ovf_I2, CilCode.Conv_Ovf_I4, CilCode.Conv_Ovf_I8, CilCode.Conv_Ovf_U, CilCode.Conv_Ovf_U1, CilCode.Conv_Ovf_U2, CilCode.Conv_Ovf_U4, CilCode.Conv_Ovf_U8, CilCode.Conv_Ovf_I_Un, CilCode.Conv_Ovf_I1_Un, CilCode.Conv_Ovf_I2_Un, CilCode.Conv_Ovf_I4_Un, CilCode.Conv_Ovf_I8_Un, CilCode.Conv_Ovf_U_Un, CilCode.Conv_Ovf_U1_Un, CilCode.Conv_Ovf_U2_Un, CilCode.Conv_Ovf_U4_Un, CilCode.Conv_Ovf_U8_Un })]
public class ConvHandler : FallThroughOpCodeHandler, ICilOpCodeHandler
Inheritance
ConvHandler
Implements
Inherited Members

Methods

DispatchInternal(CilExecutionContext, CilInstruction)

Evaluates a CIL instruction in the provided execution context, without increasing the program counter.

protected override CilDispatchResult DispatchInternal(CilExecutionContext context, CilInstruction instruction)

Parameters

context CilExecutionContext

The context to evaluate the instruction in.

instruction CilInstruction

The instruction to dispatch and evaluate.

Returns

CilDispatchResult

A value indicating whether the dispatch was successful or caused an error.