using System;
using System.Diagnostics;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// Represents a variable size last-in-first-out (LIFO) collection of instances of the same specified type.
/// Specifies the type of elements in the stack.
// Token: 0x0200036A RID: 874
[Token(Token = "0x200036A")]
[DebuggerDisplay("Count = {Count}")]
[DebuggerTypeProxy(typeof(StackDebugView<>))]
[Serializable]
public class Stack : IEnumerable, IEnumerable, ICollection, IReadOnlyCollection
{
/// Initializes a new instance of the class that is empty and has the default initial capacity.
// Token: 0x06001758 RID: 5976 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001758")]
[Address(RVA = "0x2F00540", Offset = "0x2EFF540", VA = "0x182F00540")]
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: 0x06001759 RID: 5977 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001759")]
[Address(RVA = "0x35D0BF0", Offset = "0x35CFBF0", VA = "0x1835D0BF0")]
public Stack(int capacity)
{
}
/// Initializes a new instance of the class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
/// The collection to copy elements from.
///
/// is .
// Token: 0x0600175A RID: 5978 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600175A")]
[Address(RVA = "0x35D0D90", Offset = "0x35CFD90", VA = "0x1835D0D90")]
public Stack(IEnumerable collection)
{
}
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x170004F3 RID: 1267
// (get) Token: 0x0600175B RID: 5979 RVA: 0x0000A500 File Offset: 0x00008700
[Token(Token = "0x170004F3")]
public int Count
{
[Token(Token = "0x600175B")]
[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, . In the default implementation of , this property always returns .
// Token: 0x170004F4 RID: 1268
// (get) Token: 0x0600175C RID: 5980 RVA: 0x0000A518 File Offset: 0x00008718
[Token(Token = "0x170004F4")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x600175C")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "9")]
get
{
return default(bool);
}
}
/// Gets an object that can be used to synchronize access to the .
/// An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
// Token: 0x170004F5 RID: 1269
// (get) Token: 0x0600175D RID: 5981 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004F5")]
object ICollection.SyncRoot
{
[Token(Token = "0x600175D")]
[Address(RVA = "0x35D0250", Offset = "0x35CF250", VA = "0x1835D0250", Slot = "8")]
get
{
return null;
}
}
/// Removes all objects from the .
// Token: 0x0600175E RID: 5982 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600175E")]
[Address(RVA = "0x2C47720", Offset = "0x2C46720", VA = "0x182C47720")]
public void Clear()
{
}
/// Determines whether an element is in the .
/// The object to locate in the . The value can be for reference types.
///
/// if is found in the ; otherwise, .
// Token: 0x0600175F RID: 5983 RVA: 0x0000A530 File Offset: 0x00008730
[Token(Token = "0x600175F")]
[Address(RVA = "0x35CDAC0", Offset = "0x35CCAC0", VA = "0x1835CDAC0")]
public bool Contains(T item)
{
return default(bool);
}
/// Copies the elements of the to an , starting at a particular 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-
/// does not have zero-based indexing.
/// -or-
/// The number of elements in the source is greater than the available space from to the end of the destination .
/// -or-
/// The type of the source cannot be cast automatically to the type of the destination .
// Token: 0x06001760 RID: 5984 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001760")]
[Address(RVA = "0x35CFC80", Offset = "0x35CEC80", VA = "0x1835CFC80", Slot = "6")]
void ICollection.CopyTo(Array array, int arrayIndex)
{
}
/// Returns an enumerator for the .
/// An for the .
// Token: 0x06001761 RID: 5985 RVA: 0x0000A548 File Offset: 0x00008748
[Token(Token = "0x6001761")]
[Address(RVA = "0x35CDB70", Offset = "0x35CCB70", VA = "0x1835CDB70")]
public Stack.Enumerator GetEnumerator()
{
return default(Stack.Enumerator);
}
// Token: 0x06001762 RID: 5986 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001762")]
[Address(RVA = "0x35CE780", Offset = "0x35CD780", VA = "0x1835CE780", Slot = "4")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// Returns an enumerator that iterates through a collection.
/// An that can be used to iterate through the collection.
// Token: 0x06001763 RID: 5987 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001763")]
[Address(RVA = "0x35CE780", Offset = "0x35CD780", VA = "0x1835CE780", Slot = "5")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// Returns the object at the top of the without removing it.
/// The object at the top of the .
/// The is empty.
// Token: 0x06001764 RID: 5988 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001764")]
[Address(RVA = "0x35CDED0", Offset = "0x35CCED0", VA = "0x1835CDED0")]
public T Peek()
{
return null;
}
/// Removes and returns the object at the top of the .
/// The object removed from the top of the .
/// The is empty.
// Token: 0x06001765 RID: 5989 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001765")]
[Address(RVA = "0x35CE2A0", Offset = "0x35CD2A0", VA = "0x1835CE2A0")]
public T Pop()
{
return null;
}
/// Inserts an object at the top of the .
/// The object to push onto the . The value can be for reference types.
// Token: 0x06001766 RID: 5990 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001766")]
[Address(RVA = "0x35CE620", Offset = "0x35CD620", VA = "0x1835CE620")]
public void Push(T item)
{
}
// Token: 0x06001767 RID: 5991 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001767")]
[Address(RVA = "0x35D0320", Offset = "0x35CF320", VA = "0x1835D0320")]
private void ThrowForEmptyStack()
{
}
// Token: 0x04000EB4 RID: 3764
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EB4")]
private T[] _array;
// Token: 0x04000EB5 RID: 3765
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EB5")]
private int _size;
// Token: 0x04000EB6 RID: 3766
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EB6")]
private int _version;
// Token: 0x04000EB7 RID: 3767
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EB7")]
[NonSerialized]
private object _syncRoot;
// Token: 0x04000EB8 RID: 3768
[Token(Token = "0x4000EB8")]
private const int DefaultCapacity = 4;
/// Enumerates the elements of a .
///
// Token: 0x0200036B RID: 875
[Token(Token = "0x200036B")]
[Serializable]
public struct Enumerator : IEnumerator, IDisposable, IEnumerator
{
// Token: 0x06001768 RID: 5992 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001768")]
[Address(RVA = "0x35C3510", Offset = "0x35C2510", VA = "0x1835C3510")]
internal Enumerator(Stack stack)
{
}
/// Releases all resources used by the .
// Token: 0x06001769 RID: 5993 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001769")]
[Address(RVA = "0x35C1A90", Offset = "0x35C0A90", VA = "0x1835C1A90", Slot = "5")]
public void Dispose()
{
}
/// Advances the enumerator to the next element of the .
///
/// if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
/// The collection was modified after the enumerator was created.
// Token: 0x0600176A RID: 5994 RVA: 0x0000A560 File Offset: 0x00008760
[Token(Token = "0x600176A")]
[Address(RVA = "0x35C2390", Offset = "0x35C1390", VA = "0x1835C2390", Slot = "6")]
public bool MoveNext()
{
return default(bool);
}
/// Gets the element at the current position of the enumerator.
/// The element in the at the current position of the enumerator.
/// The enumerator is positioned before the first element of the collection or after the last element.
// Token: 0x170004F6 RID: 1270
// (get) Token: 0x0600176B RID: 5995 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004F6")]
public T Current
{
[Token(Token = "0x600176B")]
[Address(RVA = "0x35C37C0", Offset = "0x35C27C0", VA = "0x1835C37C0", Slot = "4")]
get
{
return null;
}
}
// Token: 0x0600176C RID: 5996 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600176C")]
[Address(RVA = "0x35C3400", Offset = "0x35C2400", VA = "0x1835C3400")]
private void ThrowEnumerationNotStartedOrEnded()
{
}
/// Gets the element at the current position of the enumerator.
/// The element in the collection at the current position of the enumerator.
/// The enumerator is positioned before the first element of the collection or after the last element.
// Token: 0x170004F7 RID: 1271
// (get) Token: 0x0600176D RID: 5997 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004F7")]
object IEnumerator.Current
{
[Token(Token = "0x600176D")]
[Address(RVA = "0x35C2F30", Offset = "0x35C1F30", VA = "0x1835C2F30", Slot = "7")]
get
{
return null;
}
}
/// Sets the enumerator to its initial position, which is before the first element in the collection. This class cannot be inherited.
/// The collection was modified after the enumerator was created.
// Token: 0x0600176E RID: 5998 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600176E")]
[Address(RVA = "0x35C29D0", Offset = "0x35C19D0", VA = "0x1835C29D0", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x04000EB9 RID: 3769
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EB9")]
private readonly Stack _stack;
// Token: 0x04000EBA RID: 3770
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EBA")]
private readonly int _version;
// Token: 0x04000EBB RID: 3771
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EBB")]
private int _index;
// Token: 0x04000EBC RID: 3772
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EBC")]
private T _currentElement;
}
}
}