本文整理汇总了C#中IInstructionVisitor.OnNeg方法的典型用法代码示例。如果您正苦于以下问题:C# IInstructionVisitor.OnNeg方法的具体用法?C# IInstructionVisitor.OnNeg怎么用?C# IInstructionVisitor.OnNeg使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IInstructionVisitor
的用法示例。
在下文中一共展示了IInstructionVisitor.OnNeg方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DispatchNeg
static void DispatchNeg (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnNeg (instruction);
}
示例2: Dispatch
//.........这里部分代码省略.........
visitor.OnMul (instruction);
return;
case Code.Div:
visitor.OnDiv (instruction);
return;
case Code.Div_Un:
visitor.OnDiv_Un (instruction);
return;
case Code.Rem:
visitor.OnRem (instruction);
return;
case Code.Rem_Un:
visitor.OnRem_Un (instruction);
return;
case Code.And:
visitor.OnAnd (instruction);
return;
case Code.Or:
visitor.OnOr (instruction);
return;
case Code.Xor:
visitor.OnXor (instruction);
return;
case Code.Shl:
visitor.OnShl (instruction);
return;
case Code.Shr:
visitor.OnShr (instruction);
return;
case Code.Shr_Un:
visitor.OnShr_Un (instruction);
return;
case Code.Neg:
visitor.OnNeg (instruction);
return;
case Code.Not:
visitor.OnNot (instruction);
return;
case Code.Conv_I1:
visitor.OnConv_I1 (instruction);
return;
case Code.Conv_I2:
visitor.OnConv_I2 (instruction);
return;
case Code.Conv_I4:
visitor.OnConv_I4 (instruction);
return;
case Code.Conv_I8:
visitor.OnConv_I8 (instruction);
return;
case Code.Conv_R4:
visitor.OnConv_R4 (instruction);
return;
case Code.Conv_R8:
visitor.OnConv_R8 (instruction);
return;
case Code.Conv_U4:
visitor.OnConv_U4 (instruction);
return;
case Code.Conv_U8:
visitor.OnConv_U8 (instruction);
return;
case Code.Callvirt:
visitor.OnCallvirt (instruction);
return;
case Code.Cpobj: