コード例 #1
0
 private string RemoveLeadingLineWhitespaces(string text)
 {
     V_0 = new StringBuilder();
     V_1 = new List <string>();
     V_2 = 0x7fffffff;
     V_3 = new StringReader(text);
     try
     {
         V_4 = V_3.ReadLine();
         while (V_4 != null)
         {
             V_5 = 0;
             while (V_5 < V_4.get_Length())
             {
                 if (Char.IsWhiteSpace(V_4.get_Chars(V_5)))
                 {
                     V_5 = V_5 + 1;
                 }
                 else
                 {
                     V_2 = Math.Min(V_2, V_5);
                     V_1.Add(V_4);
                     break;
                 }
             }
             V_4 = V_3.ReadLine();
         }
     }
     finally
     {
         if (V_3 != null)
         {
             ((IDisposable)V_3).Dispose();
         }
     }
     V_6 = V_1.GetEnumerator();
     try
     {
         while (V_6.MoveNext())
         {
             V_7       = V_6.get_Current();
             dummyVar0 = V_0.AppendLine(V_7.Substring(V_2));
         }
     }
     finally
     {
         ((IDisposable)V_6).Dispose();
     }
     return(V_0.ToString());
 }