Table of Contents

Class ExternalMethodInvoker

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

Implements a method invoker that steps over any method that is defined outside of the current method's resolution scope.

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

Constructors

ExternalMethodInvoker(IMethodInvoker, SignatureComparer)

Creates a new step-over external method invoker.

public ExternalMethodInvoker(IMethodInvoker baseInvoker, SignatureComparer comparer)

Parameters

baseInvoker IMethodInvoker

The invoker to use when stepping over.

comparer SignatureComparer

Properties

BaseInvoker

Gets the invoker that is used when invoking an external 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