Table of Contents

Class StLocHandler

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

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

[DispatcherTableEntry(new CilCode[] { CilCode.Stloc, CilCode.Stloc_0, CilCode.Stloc_1, CilCode.Stloc_2, CilCode.Stloc_3, CilCode.Stloc_S })]
public class StLocHandler : FallThroughOpCodeHandler, ICilOpCodeHandler
Inheritance
StLocHandler
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.