using System; using System.Diagnostics; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Represents a simple last-in-first-out (LIFO) non-generic collection of objects. // Token: 0x020005EE RID: 1518 [Token(Token = "0x20005EE")] [DebuggerDisplay("Count = {Count}")] [ComVisible(true)] [DebuggerTypeProxy(typeof(Stack.StackDebugView))] [Serializable] public class Stack : ICollection, IEnumerable, ICloneable { /// Initializes a new instance of the class that is empty and has the default initial capacity. // Token: 0x06002F49 RID: 12105 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002F49")] [Address(RVA = "0x2C47E10", Offset = "0x2C46E10", VA = "0x182C47E10")] public Stack() { } /// Initializes a new instance of the class that is empty and has the specified initial capacity or the default initial capacity, whichever is greater. /// The initial number of elements that the can contain. /// /// is less than zero. // Token: 0x06002F4A RID: 12106 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002F4A")] [Address(RVA = "0x2C47E60", Offset = "0x2C46E60", VA = "0x182C47E60")] public Stack(int initialCapacity) { } /// Gets the number of elements contained in the . /// The number of elements contained in the . // 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; } } /// Gets a value indicating whether access to the is synchronized (thread safe). /// /// , if access to the is synchronized (thread safe); otherwise, . The default is . // 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); } } /// Gets an object that can be used to synchronize access to the . /// An that can be used to synchronize access to the . // 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; } } /// Removes all objects from the . // 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() { } /// Creates a shallow copy of the . /// A shallow copy of the . // 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; } /// Copies the to an existing one-dimensional , starting at the specified array index. /// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. /// The zero-based index in at which copying begins. /// /// is . /// /// is less than zero. /// /// is multidimensional. /// -or- /// The number of elements in the source is greater than the available space from to the end of the destination . /// The type of the source cannot be cast automatically to the type of the destination . // 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) { } /// Returns an for the . /// An for the . // 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; } /// Returns the object at the top of the without removing it. /// The at the top of the . /// The is empty. // 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; } /// Removes and returns the object at the top of the . /// The removed from the top of the . /// The is empty. // 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; } /// Inserts an object at the top of the . /// The to push onto the . The value can be . // 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 { } } }