Class CilExecutionContext
- Namespace
- Echo.Platforms.AsmResolver.Emulation.Dispatch
- Assembly
- Echo.Platforms.AsmResolver.dll
Provides a context for evaluating CIL instructions.
public class CilExecutionContext
- Inheritance
-
CilExecutionContext
- Inherited Members
Constructors
CilExecutionContext(CilThread, CancellationToken)
Creates a new execution context for CIL instructions.
public CilExecutionContext(CilThread thread, CancellationToken cancellationToken)
Parameters
threadCilThreadThe parent thread the instruction is executed on.
cancellationTokenCancellationTokenA token used for canceling the emulation.
Properties
CancellationToken
Gets a token used for canceling the emulation.
public CancellationToken CancellationToken { get; }
Property Value
CurrentFrame
Gets the current active stack frame.
public CallFrame CurrentFrame { get; }
Property Value
Machine
Gets the parent machine the instruction is executed on.
public CilVirtualMachine Machine { get; }
Property Value
Thread
Gets the parent thread the instruction is executed on.
public CilThread Thread { get; }