117 lines
4.6 KiB
C#
117 lines
4.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Supports iterating over a <see cref="T:System.String" /> object and reading its individual characters. This class cannot be inherited.</summary>
|
|
// Token: 0x020000C8 RID: 200
|
|
[Token(Token = "0x20000C8")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class CharEnumerator : IEnumerator, ICloneable, IEnumerator<char>, IDisposable
|
|
{
|
|
// Token: 0x06000610 RID: 1552 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000610")]
|
|
[Address(RVA = "0xC76D70", Offset = "0xC75D70", VA = "0x180C76D70")]
|
|
internal CharEnumerator(string str)
|
|
{
|
|
}
|
|
|
|
/// <summary>Creates a copy of the current <see cref="T:System.CharEnumerator" /> object.</summary>
|
|
/// <returns>An <see cref="T:System.Object" /> that is a copy of the current <see cref="T:System.CharEnumerator" /> object.</returns>
|
|
// Token: 0x06000611 RID: 1553 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000611")]
|
|
[Address(RVA = "0x64CFC0", Offset = "0x64BFC0", VA = "0x18064CFC0", Slot = "7")]
|
|
public object Clone()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Increments the internal index of the current <see cref="T:System.CharEnumerator" /> object to the next character of the enumerated string.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the index is successfully incremented and within the enumerated string; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000612 RID: 1554 RVA: 0x00005040 File Offset: 0x00003240
|
|
[Token(Token = "0x6000612")]
|
|
[Address(RVA = "0x2C2EBE0", Offset = "0x2C2DBE0", VA = "0x182C2EBE0", Slot = "4")]
|
|
public bool MoveNext()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.CharEnumerator" /> class.</summary>
|
|
// Token: 0x06000613 RID: 1555 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000613")]
|
|
[Address(RVA = "0x2C2EBC0", Offset = "0x2C2DBC0", VA = "0x182C2EBC0", Slot = "9")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the currently referenced character in the string enumerated by this <see cref="T:System.CharEnumerator" /> object. For a description of this member, see <see cref="P:System.Collections.IEnumerator.Current" />.</summary>
|
|
/// <returns>The boxed Unicode character currently referenced by this <see cref="T:System.CharEnumerator" /> object.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">Enumeration has not started.
|
|
/// -or-
|
|
/// Enumeration has ended.</exception>
|
|
// Token: 0x170000A0 RID: 160
|
|
// (get) Token: 0x06000614 RID: 1556 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170000A0")]
|
|
object IEnumerator.Current
|
|
{
|
|
[Token(Token = "0x6000614")]
|
|
[Address(RVA = "0x2C2EC50", Offset = "0x2C2DC50", VA = "0x182C2EC50", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the currently referenced character in the string enumerated by this <see cref="T:System.CharEnumerator" /> object.</summary>
|
|
/// <returns>The Unicode character currently referenced by this <see cref="T:System.CharEnumerator" /> object.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The index is invalid; that is, it is before the first or after the last character of the enumerated string.</exception>
|
|
// Token: 0x170000A1 RID: 161
|
|
// (get) Token: 0x06000615 RID: 1557 RVA: 0x00005058 File Offset: 0x00003258
|
|
[Token(Token = "0x170000A1")]
|
|
public char Current
|
|
{
|
|
[Token(Token = "0x6000615")]
|
|
[Address(RVA = "0x2C2ED70", Offset = "0x2C2DD70", VA = "0x182C2ED70", Slot = "8")]
|
|
get
|
|
{
|
|
return '\0';
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes the index to a position logically before the first character of the enumerated string.</summary>
|
|
// Token: 0x06000616 RID: 1558 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000616")]
|
|
[Address(RVA = "0x2C2EC40", Offset = "0x2C2DC40", VA = "0x182C2EC40", Slot = "6")]
|
|
public void Reset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000617 RID: 1559 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000617")]
|
|
[Address(RVA = "0x2C2ED40", Offset = "0x2C2DD40", VA = "0x182C2ED40")]
|
|
internal CharEnumerator()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000232 RID: 562
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000232")]
|
|
private string str;
|
|
|
|
// Token: 0x04000233 RID: 563
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000233")]
|
|
private int index;
|
|
|
|
// Token: 0x04000234 RID: 564
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x4000234")]
|
|
private char currentElement;
|
|
}
|
|
}
|