Class CallVirtHandler
- Namespace
- Echo.Platforms.AsmResolver.Emulation.Dispatch.ObjectModel
- Assembly
- Echo.Platforms.AsmResolver.dll
Implements a CIL instruction handler for callvirt operations.
[DispatcherTableEntry(new CilCode[] { CilCode.Callvirt })]
public class CallVirtHandler : CallHandlerBase, ICilOpCodeHandler
- Inheritance
-
CallVirtHandler
- Implements
- Inherited Members
Methods
DevirtualizeMethodInternal(CilExecutionContext, IMethodDescriptor, IList<BitVector>)
Devirtualizes and resolves the method that is referenced by the provided instruction.
protected override MethodDevirtualizationResult DevirtualizeMethodInternal(CilExecutionContext context, IMethodDescriptor method, IList<BitVector> arguments)
Parameters
contextCilExecutionContextThe execution context the instruction is evaluated in.
methodIMethodDescriptorThe method that is being devirtualized.
argumentsIList<BitVector>The arguments pushed onto the stack.
Returns
- MethodDevirtualizationResult
The result of the devirtualization.