Interface IObjectAllocator
- Namespace
- Echo.Platforms.AsmResolver.Emulation.Invocation
- Assembly
- Echo.Platforms.AsmResolver.dll
Provides members for emulating object allocation.
public interface IObjectAllocator
- Extension Methods
Methods
Allocate(CilExecutionContext, IMethodDescriptor, IList<BitVector>)
Allocates a new object with the provided constructor and arguments.
AllocationResult Allocate(CilExecutionContext context, IMethodDescriptor ctor, IList<BitVector> arguments)
Parameters
contextCilExecutionContextThe execution context the call originates from.
ctorIMethodDescriptorThe constructor to invoke after allocation.
argumentsIList<BitVector>The arguments to invoke the constructor with.
Returns
- AllocationResult
The result