Table of Contents

Class UnsafeInvoker

Namespace
Echo.Platforms.AsmResolver.Emulation.Invocation
Assembly
Echo.Platforms.AsmResolver.dll

Implements a method invoker that shims methods from the Unsafe class.

public class UnsafeInvoker : IMethodInvoker
Inheritance
UnsafeInvoker
Implements
Inherited Members
Extension Methods

Properties

Instance

Gets the singleton instance of the UnsafeInvoker class.

public static UnsafeInvoker Instance { get; }

Property Value

UnsafeInvoker

Methods

Invoke(CilExecutionContext, IMethodDescriptor, IList<BitVector>)

Invokes or emulates an external method.

public InvocationResult Invoke(CilExecutionContext context, IMethodDescriptor method, IList<BitVector> arguments)

Parameters

context CilExecutionContext

The execution context the call originates from.

method IMethodDescriptor

The method to invoke.

arguments IList<BitVector>

The arguments to invoke the method with.

Returns

InvocationResult

The result