This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+256
View File
@@ -0,0 +1,256 @@
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections
{
/// <summary>Represents a simple last-in-first-out (LIFO) non-generic collection of objects.</summary>
// Token: 0x020005EE RID: 1518
[Token(Token = "0x20005EE")]
[DebuggerDisplay("Count = {Count}")]
[ComVisible(true)]
[DebuggerTypeProxy(typeof(Stack.StackDebugView))]
[Serializable]
public class Stack : ICollection, IEnumerable, ICloneable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Stack" /> class that is empty and has the default initial capacity.</summary>
// Token: 0x06002F49 RID: 12105 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F49")]
[Address(RVA = "0x2C47E10", Offset = "0x2C46E10", VA = "0x182C47E10")]
public Stack()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Stack" /> class that is empty and has the specified initial capacity or the default initial capacity, whichever is greater.</summary>
/// <param name="initialCapacity">The initial number of elements that the <see cref="T:System.Collections.Stack" /> can contain.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="initialCapacity" /> is less than zero.</exception>
// Token: 0x06002F4A RID: 12106 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F4A")]
[Address(RVA = "0x2C47E60", Offset = "0x2C46E60", VA = "0x182C47E60")]
public Stack(int initialCapacity)
{
}
/// <summary>Gets the number of elements contained in the <see cref="T:System.Collections.Stack" />.</summary>
/// <returns>The number of elements contained in the <see cref="T:System.Collections.Stack" />.</returns>
// Token: 0x17000767 RID: 1895
// (get) Token: 0x06002F4B RID: 12107 RVA: 0x00019EA8 File Offset: 0x000180A8
[Token(Token = "0x17000767")]
public virtual int Count
{
[Token(Token = "0x6002F4B")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540", Slot = "10")]
get
{
return 0;
}
}
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.Stack" /> is synchronized (thread safe).</summary>
/// <returns>
/// <see langword="true" />, if access to the <see cref="T:System.Collections.Stack" /> is synchronized (thread safe); otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
// Token: 0x17000768 RID: 1896
// (get) Token: 0x06002F4C RID: 12108 RVA: 0x00019EC0 File Offset: 0x000180C0
[Token(Token = "0x17000768")]
public virtual bool IsSynchronized
{
[Token(Token = "0x6002F4C")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "11")]
get
{
return default(bool);
}
}
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.Stack" />.</summary>
/// <returns>An <see cref="T:System.Object" /> that can be used to synchronize access to the <see cref="T:System.Collections.Stack" />.</returns>
// Token: 0x17000769 RID: 1897
// (get) Token: 0x06002F4D RID: 12109 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000769")]
public virtual object SyncRoot
{
[Token(Token = "0x6002F4D")]
[Address(RVA = "0x2C47F10", Offset = "0x2C46F10", VA = "0x182C47F10", Slot = "12")]
get
{
return null;
}
}
/// <summary>Removes all objects from the <see cref="T:System.Collections.Stack" />.</summary>
// Token: 0x06002F4E RID: 12110 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F4E")]
[Address(RVA = "0x2C47720", Offset = "0x2C46720", VA = "0x182C47720", Slot = "13")]
public virtual void Clear()
{
}
/// <summary>Creates a shallow copy of the <see cref="T:System.Collections.Stack" />.</summary>
/// <returns>A shallow copy of the <see cref="T:System.Collections.Stack" />.</returns>
// Token: 0x06002F4F RID: 12111 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002F4F")]
[Address(RVA = "0x2C47750", Offset = "0x2C46750", VA = "0x182C47750", Slot = "14")]
public virtual object Clone()
{
return null;
}
/// <summary>Copies the <see cref="T:System.Collections.Stack" /> to an existing one-dimensional <see cref="T:System.Array" />, starting at the specified array index.</summary>
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Stack" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
/// <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="array" /> is multidimensional.
/// -or-
/// The number of elements in the source <see cref="T:System.Collections.Stack" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
/// <exception cref="T:System.InvalidCastException">The type of the source <see cref="T:System.Collections.Stack" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
// Token: 0x06002F50 RID: 12112 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F50")]
[Address(RVA = "0x2C47860", Offset = "0x2C46860", VA = "0x182C47860", Slot = "15")]
public virtual void CopyTo(Array array, int index)
{
}
/// <summary>Returns an <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.Stack" />.</summary>
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.Stack" />.</returns>
// Token: 0x06002F51 RID: 12113 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002F51")]
[Address(RVA = "0x2C47B00", Offset = "0x2C46B00", VA = "0x182C47B00", Slot = "16")]
public virtual IEnumerator GetEnumerator()
{
return null;
}
/// <summary>Returns the object at the top of the <see cref="T:System.Collections.Stack" /> without removing it.</summary>
/// <returns>The <see cref="T:System.Object" /> at the top of the <see cref="T:System.Collections.Stack" />.</returns>
/// <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Stack" /> is empty.</exception>
// Token: 0x06002F52 RID: 12114 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002F52")]
[Address(RVA = "0x2C47B80", Offset = "0x2C46B80", VA = "0x182C47B80", Slot = "17")]
public virtual object Peek()
{
return null;
}
/// <summary>Removes and returns the object at the top of the <see cref="T:System.Collections.Stack" />.</summary>
/// <returns>The <see cref="T:System.Object" /> removed from the top of the <see cref="T:System.Collections.Stack" />.</returns>
/// <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Stack" /> is empty.</exception>
// Token: 0x06002F53 RID: 12115 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002F53")]
[Address(RVA = "0x2C47C30", Offset = "0x2C46C30", VA = "0x182C47C30", Slot = "18")]
public virtual object Pop()
{
return null;
}
/// <summary>Inserts an object at the top of the <see cref="T:System.Collections.Stack" />.</summary>
/// <param name="obj">The <see cref="T:System.Object" /> to push onto the <see cref="T:System.Collections.Stack" />. The value can be <see langword="null" />.</param>
// Token: 0x06002F54 RID: 12116 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F54")]
[Address(RVA = "0x2C47D10", Offset = "0x2C46D10", VA = "0x182C47D10", Slot = "19")]
public virtual void Push(object obj)
{
}
// Token: 0x04001A9A RID: 6810
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001A9A")]
private object[] _array;
// Token: 0x04001A9B RID: 6811
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001A9B")]
private int _size;
// Token: 0x04001A9C RID: 6812
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4001A9C")]
private int _version;
// Token: 0x04001A9D RID: 6813
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001A9D")]
[NonSerialized]
private object _syncRoot;
// Token: 0x020005EF RID: 1519
[Token(Token = "0x20005EF")]
[Serializable]
private class StackEnumerator : IEnumerator, ICloneable
{
// Token: 0x06002F55 RID: 12117 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F55")]
[Address(RVA = "0x2C47600", Offset = "0x2C46600", VA = "0x182C47600")]
internal StackEnumerator(Stack stack)
{
}
// Token: 0x06002F56 RID: 12118 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002F56")]
[Address(RVA = "0x64CFC0", Offset = "0x64BFC0", VA = "0x18064CFC0", Slot = "7")]
public object Clone()
{
return null;
}
// Token: 0x06002F57 RID: 12119 RVA: 0x00019ED8 File Offset: 0x000180D8
[Token(Token = "0x6002F57")]
[Address(RVA = "0x2C47420", Offset = "0x2C46420", VA = "0x182C47420", Slot = "8")]
public virtual bool MoveNext()
{
return default(bool);
}
// Token: 0x1700076A RID: 1898
// (get) Token: 0x06002F58 RID: 12120 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700076A")]
public virtual object Current
{
[Token(Token = "0x6002F58")]
[Address(RVA = "0x2C47650", Offset = "0x2C46650", VA = "0x182C47650", Slot = "9")]
get
{
return null;
}
}
// Token: 0x06002F59 RID: 12121 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002F59")]
[Address(RVA = "0x2C47560", Offset = "0x2C46560", VA = "0x182C47560", Slot = "10")]
public virtual void Reset()
{
}
// Token: 0x04001A9E RID: 6814
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001A9E")]
private Stack _stack;
// Token: 0x04001A9F RID: 6815
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001A9F")]
private int _index;
// Token: 0x04001AA0 RID: 6816
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4001AA0")]
private int _version;
// Token: 0x04001AA1 RID: 6817
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001AA1")]
private object currentElement;
}
// Token: 0x020005F0 RID: 1520
[Token(Token = "0x20005F0")]
internal class StackDebugView
{
}
}
}