コード例 #1
0
 protected override string ToString(string constructName, HashSet <CFGBlockLogicalConstruct> printedBlocks, LogicalFlowBuilderContext context)
 {
     V_0       = new StringBuilder();
     dummyVar0 = V_0.Append(this.get_LoopType());
     dummyVar1 = V_0.AppendLine("LogicalConstruct");
     dummyVar2 = V_0.AppendLine("{");
     V_2       = this.GetSortedArrayFromCollection <ISingleEntrySubGraph>(this.get_Children());
     V_3       = 0;
     while (V_3 < (int)V_2.Length)
     {
         V_4                = (LogicalConstructBase)V_2[V_3];
         stackVariable27    = V_4.ToString(context);
         stackVariable29    = new String[1];
         stackVariable29[0] = Environment.get_NewLine();
         V_5                = stackVariable27.Split(stackVariable29, 1);
         V_6                = 0;
         while (V_6 < (int)V_5.Length)
         {
             V_7       = V_5[V_6];
             dummyVar3 = V_0.Append('\t');
             dummyVar4 = V_0.AppendLine(V_7);
             V_6       = V_6 + 1;
         }
         printedBlocks.UnionWith(V_4.get_CFGBlocks());
         V_3 = V_3 + 1;
     }
     V_1       = String.Format("\tFollowNode: {0}", this.NodeILOffset(context, this.get_CFGFollowNode()));
     dummyVar5 = V_0.AppendLine(V_1);
     dummyVar6 = V_0.AppendLine("}");
     return(V_0.ToString());
 }