Table of Contents

Class NotHandler

Namespace
Echo.Platforms.AsmResolver.Emulation.Dispatch.Arithmetic
Assembly
Echo.Platforms.AsmResolver.dll

Implements a CIL instruction handler for not operations.

[DispatcherTableEntry(new CilCode[] { CilCode.Not })]
public class NotHandler : UnaryOperatorHandlerBase, ICilOpCodeHandler
Inheritance
NotHandler
Implements
Inherited Members

Methods

Evaluate(CilExecutionContext, CilInstruction, StackSlot)

Evaluates the unary operation on an argument.

protected override CilDispatchResult Evaluate(CilExecutionContext context, CilInstruction instruction, StackSlot argument)

Parameters

context CilExecutionContext

The context to evaluate the instruction in.

instruction CilInstruction

The instruction to dispatch and evaluate.

argument StackSlot

The argument that also receives the output.

Returns

CilDispatchResult

A value indicating whether the dispatch was successful or caused an error.