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
baseInvokerIMethodInvokerThe 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
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