Table of Contents

Class FallThroughOpCodeHandler

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

Provides a base for instruction handlers that finalize evaluation by increasing the program counter by the instruction's size.

public abstract class FallThroughOpCodeHandler : ICilOpCodeHandler
Inheritance
FallThroughOpCodeHandler
Implements
Derived
Inherited Members

Methods

Dispatch(CilExecutionContext, CilInstruction)

Evaluates a CIL instruction in the provided execution context.

public CilDispatchResult Dispatch(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.

DispatchInternal(CilExecutionContext, CilInstruction)

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

protected abstract 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.