Table of Contents

Class LdArgHandler

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

Implements a CIL instruction handler for ldarg operations and its derivatives.

[DispatcherTableEntry(new CilCode[] { CilCode.Ldarg, CilCode.Ldarg_0, CilCode.Ldarg_1, CilCode.Ldarg_2, CilCode.Ldarg_3, CilCode.Ldarg_S })]
public class LdArgHandler : FallThroughOpCodeHandler, ICilOpCodeHandler
Inheritance
LdArgHandler
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.