Files
2026-04-10 22:50:51 +02:00

43 lines
1.6 KiB
C#

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