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: 0x020000C1 RID: 193
|
|
[Token(Token = "0x20000C1")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class CharEnumerator : IEnumerator, ICloneable, IEnumerator<char>, IDisposable
|
|
{
|
|
// Token: 0x060005F3 RID: 1523 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005F3")]
|
|
[Address(RVA = "0x503A20", Offset = "0x502820", VA = "0x180503A20")]
|
|
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: 0x060005F4 RID: 1524 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60005F4")]
|
|
[Address(RVA = "0x6A0DF0", Offset = "0x69FBF0", VA = "0x1806A0DF0", 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: 0x060005F5 RID: 1525 RVA: 0x00004F50 File Offset: 0x00003150
|
|
[Token(Token = "0x60005F5")]
|
|
[Address(RVA = "0x25311D0", Offset = "0x252FFD0", VA = "0x1825311D0", 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: 0x060005F6 RID: 1526 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005F6")]
|
|
[Address(RVA = "0x25311B0", Offset = "0x252FFB0", VA = "0x1825311B0", 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: 0x1700009C RID: 156
|
|
// (get) Token: 0x060005F7 RID: 1527 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700009C")]
|
|
object IEnumerator.Current
|
|
{
|
|
[Token(Token = "0x60005F7")]
|
|
[Address(RVA = "0x2531240", Offset = "0x2530040", VA = "0x182531240", 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: 0x1700009D RID: 157
|
|
// (get) Token: 0x060005F8 RID: 1528 RVA: 0x00004F68 File Offset: 0x00003168
|
|
[Token(Token = "0x1700009D")]
|
|
public char Current
|
|
{
|
|
[Token(Token = "0x60005F8")]
|
|
[Address(RVA = "0x2531360", Offset = "0x2530160", VA = "0x182531360", Slot = "8")]
|
|
get
|
|
{
|
|
return '\0';
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes the index to a position logically before the first character of the enumerated string.</summary>
|
|
// Token: 0x060005F9 RID: 1529 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005F9")]
|
|
[Address(RVA = "0x2531230", Offset = "0x2530030", VA = "0x182531230", Slot = "6")]
|
|
public void Reset()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005FA RID: 1530 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005FA")]
|
|
[Address(RVA = "0x2531330", Offset = "0x2530130", VA = "0x182531330")]
|
|
internal CharEnumerator()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000228 RID: 552
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000228")]
|
|
private string str;
|
|
|
|
// Token: 0x04000229 RID: 553
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000229")]
|
|
private int index;
|
|
|
|
// Token: 0x0400022A RID: 554
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400022A")]
|
|
private char currentElement;
|
|
}
|
|
}
|