Class LdTokenHandler
- Namespace
- Echo.Platforms.AsmResolver.Emulation.Dispatch.ObjectModel
- Assembly
- Echo.Platforms.AsmResolver.dll
Implements a CIL instruction handler for ldtoken operations.
[DispatcherTableEntry(new CilCode[] { CilCode.Ldtoken })]
public class LdTokenHandler : FallThroughOpCodeHandler, ICilOpCodeHandler
- Inheritance
-
LdTokenHandler
- 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
contextCilExecutionContextThe context to evaluate the instruction in.
instructionCilInstructionThe instruction to dispatch and evaluate.
Returns
- CilDispatchResult
A value indicating whether the dispatch was successful or caused an error.