コード例 #1
0
 public void RedirectPredecessors()
 {
     if (this.get_Parent().get_Entry() == this.get_OriginalCFGConstruct())
     {
         this.get_Parent().set_Entry(this);
     }
     V_0 = this.get_OriginalCFGConstruct().get_CFGPredecessors().GetEnumerator();
     try
     {
         while (V_0.MoveNext())
         {
             V_1       = V_0.get_Current();
             dummyVar0 = V_1.RemoveFromSuccessors(this.get_OriginalCFGConstruct());
             V_1.AddToSuccessors(this);
             this.AddToPredecessors(V_1);
             V_2 = V_1.get_Parent() as LogicalConstructBase;
             while (V_2 != null)
             {
                 if (V_2.RemoveFromSuccessors(this.get_OriginalCFGConstruct()))
                 {
                     V_2.AddToSuccessors(this);
                 }
                 V_2 = V_2.get_Parent() as LogicalConstructBase;
             }
         }
     }
     finally
     {
         ((IDisposable)V_0).Dispose();
     }
     return;
 }