本文整理汇总了C#中IInstructionVisitor.OnSub方法的典型用法代码示例。如果您正苦于以下问题:C# IInstructionVisitor.OnSub方法的具体用法?C# IInstructionVisitor.OnSub怎么用?C# IInstructionVisitor.OnSub使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IInstructionVisitor
的用法示例。
在下文中一共展示了IInstructionVisitor.OnSub方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DispatchSub
static void DispatchSub (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnSub (instruction);
}
示例2: Dispatch
//.........这里部分代码省略.........
visitor.OnLdind_R4 (instruction);
return;
case Code.Ldind_R8:
visitor.OnLdind_R8 (instruction);
return;
case Code.Ldind_Ref:
visitor.OnLdind_Ref (instruction);
return;
case Code.Stind_Ref:
visitor.OnStind_Ref (instruction);
return;
case Code.Stind_I1:
visitor.OnStind_I1 (instruction);
return;
case Code.Stind_I2:
visitor.OnStind_I2 (instruction);
return;
case Code.Stind_I4:
visitor.OnStind_I4 (instruction);
return;
case Code.Stind_I8:
visitor.OnStind_I8 (instruction);
return;
case Code.Stind_R4:
visitor.OnStind_R4 (instruction);
return;
case Code.Stind_R8:
visitor.OnStind_R8 (instruction);
return;
case Code.Add:
visitor.OnAdd (instruction);
return;
case Code.Sub:
visitor.OnSub (instruction);
return;
case Code.Mul:
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: