public static DynamicFieldInfo[] GetHashTableFields(SimpleHashtable h)
 {
     DynamicFieldInfo[] infoArray = null;
     try
     {
         int count = h.count;
         infoArray = new DynamicFieldInfo[count];
         IDictionaryEnumerator enumerator = h.GetEnumerator();
         for (int i = 0; (i < count) && enumerator.MoveNext(); i++)
         {
             infoArray[i] = new DynamicFieldInfo((string)enumerator.Key, enumerator.Value);
         }
     }
     catch
     {
         infoArray = new DynamicFieldInfo[0];
     }
     return(infoArray);
 }
 internal DynamicFieldInfo[] Next(int count)
 {
     try
     {
         ArrayList list = new ArrayList();
         while ((count > 0) && this.enumerator.MoveNext())
         {
             string current = (string) this.enumerator.Current;
             list.Add(new DynamicFieldInfo(current, this.arrayObject.GetMemberValue(current)));
             count--;
         }
         DynamicFieldInfo[] array = new DynamicFieldInfo[list.Count];
         list.CopyTo(array);
         return array;
     }
     catch
     {
         return new DynamicFieldInfo[0];
     }
 }
 internal DynamicFieldInfo[] Next(int count)
 {
     try
     {
         ArrayList list = new ArrayList();
         while ((count > 0) && this.enumerator.MoveNext())
         {
             string current = (string)this.enumerator.Current;
             list.Add(new DynamicFieldInfo(current, this.arrayObject.GetMemberValue(current)));
             count--;
         }
         DynamicFieldInfo[] array = new DynamicFieldInfo[list.Count];
         list.CopyTo(array);
         return(array);
     }
     catch
     {
         return(new DynamicFieldInfo[0]);
     }
 }
 public static DynamicFieldInfo[] GetHashTableFields(SimpleHashtable h)
 {
     DynamicFieldInfo[] infoArray = null;
     try
     {
         int count = h.count;
         infoArray = new DynamicFieldInfo[count];
         IDictionaryEnumerator enumerator = h.GetEnumerator();
         for (int i = 0; (i < count) && enumerator.MoveNext(); i++)
         {
             infoArray[i] = new DynamicFieldInfo((string) enumerator.Key, enumerator.Value);
         }
     }
     catch
     {
         infoArray = new DynamicFieldInfo[0];
     }
     return infoArray;
 }