Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020005D9 RID: 1497
[Token(Token = "0x20005D9")]
[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: 0x06002E8D RID: 11917
[Token(Token = "0x6002E8D")]
[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: 0x1700072B RID: 1835
// (get) Token: 0x06002E8E RID: 11918
[Token(Token = "0x1700072B")]
object Current
{
[Token(Token = "0x6002E8E")]
[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: 0x06002E8F RID: 11919
[Token(Token = "0x6002E8F")]
[Address(Slot = "2")]
void Reset();
}
}