using System; using System.Collections; namespace System.Security.Cryptography.X509Certificates { /// Supports a simple iteration over a . This class cannot be inherited. // Token: 0x02000297 RID: 663 public sealed class X509ExtensionEnumerator : IEnumerator { // Token: 0x06001873 RID: 6259 RVA: 0x00053338 File Offset: 0x00051538 internal X509ExtensionEnumerator(ArrayList list) { this.enumerator = list.GetEnumerator(); } /// Gets an object from a collection. /// The current element in the . /// The enumerator is positioned before the first element of the collection or after the last element. // Token: 0x170007AF RID: 1967 // (get) Token: 0x06001874 RID: 6260 RVA: 0x0005334C File Offset: 0x0005154C object IEnumerator.Current { get { return this.enumerator.Current; } } /// Gets the current element in the . /// The current element in the . /// The enumerator is positioned before the first element of the collection or after the last element. /// /// /// // Token: 0x170007B0 RID: 1968 // (get) Token: 0x06001875 RID: 6261 RVA: 0x0005335C File Offset: 0x0005155C public X509Extension Current { get { return (X509Extension)this.enumerator.Current; } } /// Advances the enumerator to the next element in the . /// 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: 0x06001876 RID: 6262 RVA: 0x00053370 File Offset: 0x00051570 public bool MoveNext() { return this.enumerator.MoveNext(); } /// Sets the enumerator to its initial position, which is before the first element in the . /// The collection was modified after the enumerator was created. // Token: 0x06001877 RID: 6263 RVA: 0x00053380 File Offset: 0x00051580 public void Reset() { this.enumerator.Reset(); } // Token: 0x04001345 RID: 4933 private IEnumerator enumerator; } }