using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Supports a simple iteration over a non-generic collection. // Token: 0x020005D9 RID: 1497 [Token(Token = "0x20005D9")] [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: 0x06002E8D RID: 11917 [Token(Token = "0x6002E8D")] [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: 0x1700072B RID: 1835 // (get) Token: 0x06002E8E RID: 11918 [Token(Token = "0x1700072B")] object Current { [Token(Token = "0x6002E8E")] [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: 0x06002E8F RID: 11919 [Token(Token = "0x6002E8F")] [Address(Slot = "2")] void Reset(); } }