Table of Contents

Class NativeMethodInvoker

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

Implements a method invoker that steps over any method that does not have a CIL method body assigned.

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

Constructors

NativeMethodInvoker(IMethodInvoker)

Creates a new native method invoker.

public NativeMethodInvoker(IMethodInvoker baseInvoker)

Parameters

baseInvoker IMethodInvoker

The invoker that is used when invoking a non-CIL method.

Properties

BaseInvoker

Gets the invoker that is used when invoking a non-CIL method.

public IMethodInvoker BaseInvoker { get; }

Property Value

IMethodInvoker

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