using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Supports a simple iteration over a non-generic collection. // Token: 0x020005BA RID: 1466 [Token(Token = "0x20005BA")] [ComVisible(true)] [Guid("496B0ABF-CDEE-11d3-88E8-00902754C43A")] public interface IEnumerator { /// Advances the enumerator to the next element of the collection. /// /// if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. /// The collection was modified after the enumerator was created. // Token: 0x06002C77 RID: 11383 [Token(Token = "0x6002C77")] [Address(Slot = "0")] bool MoveNext(); /// Gets the element in the collection at the current position of the enumerator. /// The element in the collection at the current position of the enumerator. // Token: 0x170006B3 RID: 1715 // (get) Token: 0x06002C78 RID: 11384 [Token(Token = "0x170006B3")] object Current { [Token(Token = "0x6002C78")] [Address(Slot = "1")] get; } /// 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: 0x06002C79 RID: 11385 [Token(Token = "0x6002C79")] [Address(Slot = "2")] void Reset(); } }