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
contextCilExecutionContextThe context to evaluate the instruction in.
instructionCilInstructionThe instruction to dispatch and evaluate.
argumentStackSlotThe argument that also receives the output.
Returns
- CilDispatchResult
A value indicating whether the dispatch was successful or caused an error.