Class UnknownAddressAllocator
- Namespace
- Echo.Platforms.AsmResolver.Emulation.Invocation
- Assembly
- Echo.Platforms.AsmResolver.dll
Provides an implementation of an allocator that always returns unknown addresses for object allocation requests.
public class UnknownAddressAllocator : IObjectAllocator
- Inheritance
-
UnknownAddressAllocator
- Implements
- Inherited Members
- Extension Methods
Properties
Instance
Gets the singleton instance of the UnknownAddressAllocator class.
public static UnknownAddressAllocator Instance { get; }
Property Value
Methods
Allocate(CilExecutionContext, IMethodDescriptor, IList<BitVector>)
Allocates a new object with the provided constructor and arguments.
public 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