本文整理汇总了C#中IInstructionVisitor.OnUnaligned方法的典型用法代码示例。如果您正苦于以下问题:C# IInstructionVisitor.OnUnaligned方法的具体用法?C# IInstructionVisitor.OnUnaligned怎么用?C# IInstructionVisitor.OnUnaligned使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IInstructionVisitor
的用法示例。
在下文中一共展示了IInstructionVisitor.OnUnaligned方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DispatchUnaligned
static void DispatchUnaligned (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnUnaligned (instruction);
}
示例2: Dispatch
//.........这里部分代码省略.........
visitor.OnConv_Ovf_U (instruction);
return;
case Code.Add_Ovf:
visitor.OnAdd_Ovf (instruction);
return;
case Code.Add_Ovf_Un:
visitor.OnAdd_Ovf_Un (instruction);
return;
case Code.Mul_Ovf:
visitor.OnMul_Ovf (instruction);
return;
case Code.Mul_Ovf_Un:
visitor.OnMul_Ovf_Un (instruction);
return;
case Code.Sub_Ovf:
visitor.OnSub_Ovf (instruction);
return;
case Code.Sub_Ovf_Un:
visitor.OnSub_Ovf_Un (instruction);
return;
case Code.Endfinally:
visitor.OnEndfinally (instruction);
return;
case Code.Leave:
case Code.Leave_S:
visitor.OnLeave (instruction);
return;
case Code.Stind_I:
visitor.OnStind_I (instruction);
return;
case Code.Conv_U:
visitor.OnConv_U (instruction);
return;
case Code.Arglist:
visitor.OnArglist (instruction);
return;
case Code.Ceq:
visitor.OnCeq (instruction);
return;
case Code.Cgt:
visitor.OnCgt (instruction);
return;
case Code.Cgt_Un:
visitor.OnCgt_Un (instruction);
return;
case Code.Clt:
visitor.OnClt (instruction);
return;
case Code.Clt_Un:
visitor.OnClt_Un (instruction);
return;
case Code.Ldftn:
visitor.OnLdftn (instruction);
return;
case Code.Ldvirtftn:
visitor.OnLdvirtftn (instruction);
return;
case Code.Localloc:
visitor.OnLocalloc (instruction);
return;
case Code.Endfilter:
visitor.OnEndfilter (instruction);
return;
case Code.Unaligned:
visitor.OnUnaligned (instruction);
return;
case Code.Volatile:
visitor.OnVolatile (instruction);
return;
case Code.Tail:
visitor.OnTail (instruction);
return;
case Code.Initobj:
visitor.OnInitobj (instruction);
return;
case Code.Cpblk:
visitor.OnCpblk (instruction);
return;
case Code.Initblk:
visitor.OnInitblk (instruction);
return;
case Code.Rethrow:
visitor.OnRethrow (instruction);
return;
case Code.Sizeof:
visitor.OnSizeof (instruction);
return;
case Code.Refanytype:
visitor.OnRefanytype (instruction);
return;
case Code.Constrained:
visitor.OnConstrained (instruction);
return;
case Code.Readonly:
//TODO: Check if any action must be performed here.
return;
default:
throw new ArgumentException (Formatter.FormatInstruction (instruction), "instruction");
}
}