using System; namespace System.Collections.Specialized { /// Supports a simple iteration over a . // Token: 0x0200003B RID: 59 public class StringEnumerator { // Token: 0x06000290 RID: 656 RVA: 0x00009294 File Offset: 0x00007494 internal StringEnumerator(StringCollection coll) { this.enumerable = ((IEnumerable)coll).GetEnumerator(); } /// Gets the current element in the collection. /// The current element in the collection. /// The enumerator is positioned before the first element of the collection or after the last element. // Token: 0x170000B8 RID: 184 // (get) Token: 0x06000291 RID: 657 RVA: 0x000092A8 File Offset: 0x000074A8 public string Current { get { return (string)this.enumerable.Current; } } /// Advances the enumerator to the next element of the collection. /// true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. /// The collection was modified after the enumerator was created. // Token: 0x06000292 RID: 658 RVA: 0x000092BC File Offset: 0x000074BC public bool MoveNext() { return this.enumerable.MoveNext(); } /// Sets the enumerator to its initial position, which is before the first element in the collection. /// The collection was modified after the enumerator was created. // Token: 0x06000293 RID: 659 RVA: 0x000092CC File Offset: 0x000074CC public void Reset() { this.enumerable.Reset(); } // Token: 0x040000B4 RID: 180 private IEnumerator enumerable; } }