コード例 #1
0
ファイル: Extensions.cs プロジェクト: luozhiping1987/dot42
 /// <summary>
 /// Will the given opcode branch, throw, invoke,
 /// or return, i.e. will it not always advance the
 /// instruction pointer to the next instruction?
 /// </summary>
 public static bool IsJump(this OpCodes code)
 {
     return(code.IsBranch() ||
            code.IsInvoke() ||
            code.IsUnconditionalBranch() ||
            code.IsReturn());
 }