Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

338 lines
12 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System
{
/// <summary>Delimits a section of a one-dimensional array.</summary>
/// <typeparam name="T">The type of the elements in the array segment.</typeparam>
// Token: 0x020000BA RID: 186
[Token(Token = "0x20000BA")]
[Serializable]
public struct ArraySegment<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlyList<T>, IReadOnlyCollection<T>
{
/// <summary>Initializes a new instance of the <see cref="T:System.ArraySegment`1" /> structure that delimits all the elements in the specified array.</summary>
/// <param name="array">The array to wrap.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
// Token: 0x06000518 RID: 1304 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000518")]
[Address(RVA = "0x2F102F0", Offset = "0x2F0F2F0", VA = "0x182F102F0")]
public ArraySegment(T[] array)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ArraySegment`1" /> structure that delimits the specified range of the elements in the specified array.</summary>
/// <param name="array">The array containing the range of elements to delimit.</param>
/// <param name="offset">The zero-based index of the first element in the range.</param>
/// <param name="count">The number of elements in the range.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> or <paramref name="count" /> is less than 0.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> and <paramref name="count" /> do not specify a valid range in <paramref name="array" />.</exception>
// Token: 0x06000519 RID: 1305 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000519")]
[Address(RVA = "0x2F0FB70", Offset = "0x2F0EB70", VA = "0x182F0FB70")]
public ArraySegment(T[] array, int offset, int count)
{
}
/// <summary>Gets the original array containing the range of elements that the array segment delimits.</summary>
/// <returns>The original array that was passed to the constructor, and that contains the range delimited by the <see cref="T:System.ArraySegment`1" />.</returns>
// Token: 0x17000093 RID: 147
// (get) Token: 0x0600051A RID: 1306 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000093")]
public T[] Array
{
[Token(Token = "0x600051A")]
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
get
{
return null;
}
}
/// <summary>Gets the position of the first element in the range delimited by the array segment, relative to the start of the original array.</summary>
/// <returns>The position of the first element in the range delimited by the <see cref="T:System.ArraySegment`1" />, relative to the start of the original array.</returns>
// Token: 0x17000094 RID: 148
// (get) Token: 0x0600051B RID: 1307 RVA: 0x00004248 File Offset: 0x00002448
[Token(Token = "0x17000094")]
public int Offset
{
[Token(Token = "0x600051B")]
[Address(RVA = "0x60FD70", Offset = "0x60ED70", VA = "0x18060FD70")]
get
{
return 0;
}
}
/// <summary>Gets the number of elements in the range delimited by the array segment.</summary>
/// <returns>The number of elements in the range delimited by the <see cref="T:System.ArraySegment`1" />.</returns>
// Token: 0x17000095 RID: 149
// (get) Token: 0x0600051C RID: 1308 RVA: 0x00004260 File Offset: 0x00002460
[Token(Token = "0x17000095")]
public int Count
{
[Token(Token = "0x600051C")]
[Address(RVA = "0x89A1B0", Offset = "0x8991B0", VA = "0x18089A1B0", Slot = "19")]
get
{
return 0;
}
}
/// <summary>Returns the hash code for the current instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x0600051D RID: 1309 RVA: 0x00004278 File Offset: 0x00002478
[Token(Token = "0x600051D")]
[Address(RVA = "0x2F0BED0", Offset = "0x2F0AED0", VA = "0x182F0BED0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Determines whether the specified object is equal to the current instance.</summary>
/// <param name="obj">The object to be compared with the current instance.</param>
/// <returns>
/// <see langword="true" /> if the specified object is a <see cref="T:System.ArraySegment`1" /> structure and is equal to the current instance; otherwise, <see langword="false" />.</returns>
// Token: 0x0600051E RID: 1310 RVA: 0x00004290 File Offset: 0x00002490
[Token(Token = "0x600051E")]
[Address(RVA = "0x2F0BDC0", Offset = "0x2F0ADC0", VA = "0x182F0BDC0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Determines whether the specified <see cref="T:System.ArraySegment`1" /> structure is equal to the current instance.</summary>
/// <param name="obj">The structure to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if the specified <see cref="T:System.ArraySegment`1" /> structure is equal to the current instance; otherwise, <see langword="false" />.</returns>
// Token: 0x0600051F RID: 1311 RVA: 0x000042A8 File Offset: 0x000024A8
[Token(Token = "0x600051F")]
[Address(RVA = "0x2F0BD80", Offset = "0x2F0AD80", VA = "0x182F0BD80")]
public bool Equals(ArraySegment<T> obj)
{
return default(bool);
}
// Token: 0x17000096 RID: 150
[Token(Token = "0x17000096")]
T IList<T>.this[int index]
{
[Token(Token = "0x6000520")]
[Address(RVA = "0x2F0E600", Offset = "0x2F0D600", VA = "0x182F0E600", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6000521")]
[Address(RVA = "0x2F0E9B0", Offset = "0x2F0D9B0", VA = "0x182F0E9B0", Slot = "5")]
set
{
}
}
// Token: 0x06000522 RID: 1314 RVA: 0x000042C0 File Offset: 0x000024C0
[Token(Token = "0x6000522")]
[Address(RVA = "0x2F0DC90", Offset = "0x2F0CC90", VA = "0x182F0DC90", Slot = "6")]
int IList<T>.IndexOf(T item)
{
return 0;
}
// Token: 0x06000523 RID: 1315 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000523")]
[Address(RVA = "0x2F0DE10", Offset = "0x2F0CE10", VA = "0x182F0DE10", Slot = "7")]
void IList<T>.Insert(int index, T item)
{
}
// Token: 0x06000524 RID: 1316 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000524")]
[Address(RVA = "0x2F0E130", Offset = "0x2F0D130", VA = "0x182F0E130", Slot = "8")]
void IList<T>.RemoveAt(int index)
{
}
// Token: 0x17000097 RID: 151
[Token(Token = "0x17000097")]
T IReadOnlyList<T>.this[int index]
{
[Token(Token = "0x6000525")]
[Address(RVA = "0x2F0ED70", Offset = "0x2F0DD70", VA = "0x182F0ED70", Slot = "18")]
get
{
return null;
}
}
// Token: 0x17000098 RID: 152
// (get) Token: 0x06000526 RID: 1318 RVA: 0x000042D8 File Offset: 0x000024D8
[Token(Token = "0x17000098")]
bool ICollection<T>.IsReadOnly
{
[Token(Token = "0x6000526")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "10")]
get
{
return default(bool);
}
}
// Token: 0x06000527 RID: 1319 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000527")]
[Address(RVA = "0x2F0BF10", Offset = "0x2F0AF10", VA = "0x182F0BF10", Slot = "11")]
void ICollection<T>.Add(T item)
{
}
// Token: 0x06000528 RID: 1320 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000528")]
[Address(RVA = "0x2F0C1E0", Offset = "0x2F0B1E0", VA = "0x182F0C1E0", Slot = "12")]
void ICollection<T>.Clear()
{
}
// Token: 0x06000529 RID: 1321 RVA: 0x000042F0 File Offset: 0x000024F0
[Token(Token = "0x6000529")]
[Address(RVA = "0x2F0C710", Offset = "0x2F0B710", VA = "0x182F0C710", Slot = "13")]
bool ICollection<T>.Contains(T item)
{
return default(bool);
}
// Token: 0x0600052A RID: 1322 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600052A")]
[Address(RVA = "0x2F0CBF0", Offset = "0x2F0BBF0", VA = "0x182F0CBF0", Slot = "14")]
void ICollection<T>.CopyTo(T[] array, int arrayIndex)
{
}
// Token: 0x0600052B RID: 1323 RVA: 0x00004308 File Offset: 0x00002508
[Token(Token = "0x600052B")]
[Address(RVA = "0x2F0CEE0", Offset = "0x2F0BEE0", VA = "0x182F0CEE0", Slot = "15")]
bool ICollection<T>.Remove(T item)
{
return default(bool);
}
// Token: 0x0600052C RID: 1324 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600052C")]
[Address(RVA = "0x2F0D570", Offset = "0x2F0C570", VA = "0x182F0D570", Slot = "16")]
IEnumerator<T> IEnumerable<T>.GetEnumerator()
{
return null;
}
/// <summary>Returns an enumerator that iterates through an array segment.</summary>
/// <returns>An enumerator that can be used to iterate through the array segment.</returns>
// Token: 0x0600052D RID: 1325 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600052D")]
[Address(RVA = "0x2F0F1F0", Offset = "0x2F0E1F0", VA = "0x182F0F1F0", Slot = "17")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
// Token: 0x04000200 RID: 512
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000200")]
private T[] _array;
// Token: 0x04000201 RID: 513
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000201")]
private int _offset;
// Token: 0x04000202 RID: 514
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000202")]
private int _count;
// Token: 0x020000BB RID: 187
[Token(Token = "0x20000BB")]
[Serializable]
private sealed class ArraySegmentEnumerator : IEnumerator<T>, IDisposable, IEnumerator
{
// Token: 0x0600052E RID: 1326 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600052E")]
[Address(RVA = "0x2F0B760", Offset = "0x2F0A760", VA = "0x182F0B760")]
internal ArraySegmentEnumerator(ArraySegment<T> arraySegment)
{
}
// Token: 0x0600052F RID: 1327 RVA: 0x00004320 File Offset: 0x00002520
[Token(Token = "0x600052F")]
[Address(RVA = "0x2F0B730", Offset = "0x2F0A730", VA = "0x182F0B730", Slot = "6")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x17000099 RID: 153
// (get) Token: 0x06000530 RID: 1328 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000099")]
public T Current
{
[Token(Token = "0x6000530")]
[Address(RVA = "0x2F0B7C0", Offset = "0x2F0A7C0", VA = "0x182F0B7C0", Slot = "4")]
get
{
return null;
}
}
// Token: 0x1700009A RID: 154
// (get) Token: 0x06000531 RID: 1329 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700009A")]
object IEnumerator.Current
{
[Token(Token = "0x6000531")]
[Address(RVA = "0x2B379F0", Offset = "0x2B369F0", VA = "0x182B379F0", Slot = "7")]
get
{
return null;
}
}
// Token: 0x06000532 RID: 1330 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000532")]
[Address(RVA = "0x2F0B750", Offset = "0x2F0A750", VA = "0x182F0B750", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x06000533 RID: 1331 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000533")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
public void Dispose()
{
}
// Token: 0x04000203 RID: 515
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000203")]
private T[] _array;
// Token: 0x04000204 RID: 516
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000204")]
private int _start;
// Token: 0x04000205 RID: 517
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000205")]
private int _end;
// Token: 0x04000206 RID: 518
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000206")]
private int _current;
}
}
}