Table of Contents

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

thread CilThread

The parent thread the instruction is executed on.

cancellationToken CancellationToken

A token used for canceling the emulation.

Properties

CancellationToken

Gets a token used for canceling the emulation.

public CancellationToken CancellationToken { get; }

Property Value

CancellationToken

CurrentFrame

Gets the current active stack frame.

public CallFrame CurrentFrame { get; }

Property Value

CallFrame

Machine

Gets the parent machine the instruction is executed on.

public CilVirtualMachine Machine { get; }

Property Value

CilVirtualMachine

Thread

Gets the parent thread the instruction is executed on.

public CilThread Thread { get; }

Property Value

CilThread