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
baseInvokerIMethodInvokerThe invoker to use when stepping over.
comparerSignatureComparer
Properties
BaseInvoker
Gets the invoker that is used when invoking an external method.
public IMethodInvoker BaseInvoker { get; }
Property Value
Methods
Invoke(CilExecutionContext, IMethodDescriptor, IList<BitVector>)
Invokes or emulates an external method.
public InvocationResult Invoke(CilExecutionContext context, IMethodDescriptor method, IList<BitVector> arguments)
Parameters
contextCilExecutionContextThe execution context the call originates from.
methodIMethodDescriptorThe method to invoke.
argumentsIList<BitVector>The arguments to invoke the method with.
Returns
- InvocationResult
The result