Table of Contents

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

context CilExecutionContext

The execution context the call originates from.

ctor IMethodDescriptor

The constructor to invoke after allocation.

arguments IList<BitVector>

The arguments to invoke the constructor with.

Returns

AllocationResult

The result