예제 #1
0
 /// <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());
 }