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: 0x0200036E RID: 878
[Token(Token = "0x200036E")]
[DebuggerTypeProxy(typeof(StackDebugView<>))]
[DebuggerDisplay("Count = {Count}")]
[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: 0x0600176F RID: 5999 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600176F")]
[Address(RVA = "0x28EB280", Offset = "0x28EA080", VA = "0x1828EB280")]
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: 0x06001770 RID: 6000 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001770")]
[Address(RVA = "0x3211250", Offset = "0x3210050", VA = "0x183211250")]
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: 0x06001771 RID: 6001 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001771")]
[Address(RVA = "0x32114A0", Offset = "0x32102A0", VA = "0x1832114A0")]
public Stack(IEnumerable collection)
{
}
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x170004F7 RID: 1271
// (get) Token: 0x06001772 RID: 6002 RVA: 0x0000A518 File Offset: 0x00008718
[Token(Token = "0x170004F7")]
public int Count
{
[Token(Token = "0x6001772")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720", 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: 0x170004F8 RID: 1272
// (get) Token: 0x06001773 RID: 6003 RVA: 0x0000A530 File Offset: 0x00008730
[Token(Token = "0x170004F8")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6001773")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x170004F9 RID: 1273
// (get) Token: 0x06001774 RID: 6004 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004F9")]
object ICollection.SyncRoot
{
[Token(Token = "0x6001774")]
[Address(RVA = "0x32108B0", Offset = "0x320F6B0", VA = "0x1832108B0", Slot = "8")]
get
{
return null;
}
}
/// Removes all objects from the .
// Token: 0x06001775 RID: 6005 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001775")]
[Address(RVA = "0x2549D50", Offset = "0x2548B50", VA = "0x182549D50")]
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: 0x06001776 RID: 6006 RVA: 0x0000A548 File Offset: 0x00008748
[Token(Token = "0x6001776")]
[Address(RVA = "0x320E050", Offset = "0x320CE50", VA = "0x18320E050")]
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: 0x06001777 RID: 6007 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001777")]
[Address(RVA = "0x32102E0", Offset = "0x320F0E0", VA = "0x1832102E0", Slot = "6")]
void ICollection.CopyTo(Array array, int arrayIndex)
{
}
/// Returns an enumerator for the .
/// An for the .
// Token: 0x06001778 RID: 6008 RVA: 0x0000A560 File Offset: 0x00008760
[Token(Token = "0x6001778")]
[Address(RVA = "0x320E140", Offset = "0x320CF40", VA = "0x18320E140")]
public Stack.Enumerator GetEnumerator()
{
return default(Stack.Enumerator);
}
// Token: 0x06001779 RID: 6009 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001779")]
[Address(RVA = "0x320EEA0", Offset = "0x320DCA0", VA = "0x18320EEA0", 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: 0x0600177A RID: 6010 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600177A")]
[Address(RVA = "0x320EEA0", Offset = "0x320DCA0", VA = "0x18320EEA0", 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: 0x0600177B RID: 6011 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600177B")]
[Address(RVA = "0x320E4E0", Offset = "0x320D2E0", VA = "0x18320E4E0")]
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: 0x0600177C RID: 6012 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600177C")]
[Address(RVA = "0x320E8B0", Offset = "0x320D6B0", VA = "0x18320E8B0")]
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: 0x0600177D RID: 6013 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600177D")]
[Address(RVA = "0x320EC30", Offset = "0x320DA30", VA = "0x18320EC30")]
public void Push(T item)
{
}
// Token: 0x0600177E RID: 6014 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600177E")]
[Address(RVA = "0x3210980", Offset = "0x320F780", VA = "0x183210980")]
private void ThrowForEmptyStack()
{
}
// Token: 0x04000EC1 RID: 3777
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC1")]
private T[] _array;
// Token: 0x04000EC2 RID: 3778
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC2")]
private int _size;
// Token: 0x04000EC3 RID: 3779
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC3")]
private int _version;
// Token: 0x04000EC4 RID: 3780
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC4")]
[NonSerialized]
private object _syncRoot;
// Token: 0x04000EC5 RID: 3781
[Token(Token = "0x4000EC5")]
private const int DefaultCapacity = 4;
/// Enumerates the elements of a .
///
// Token: 0x0200036F RID: 879
[Token(Token = "0x200036F")]
[Serializable]
public struct Enumerator : IEnumerator, IDisposable, IEnumerator
{
// Token: 0x0600177F RID: 6015 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600177F")]
[Address(RVA = "0x3202FE0", Offset = "0x3201DE0", VA = "0x183202FE0")]
internal Enumerator(Stack stack)
{
}
/// Releases all resources used by the .
// Token: 0x06001780 RID: 6016 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001780")]
[Address(RVA = "0x3202CD0", Offset = "0x3201AD0", VA = "0x183202CD0", 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: 0x06001781 RID: 6017 RVA: 0x0000A578 File Offset: 0x00008778
[Token(Token = "0x6001781")]
[Address(RVA = "0x333CEF0", Offset = "0x333BCF0", VA = "0x18333CEF0", 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: 0x170004FA RID: 1274
// (get) Token: 0x06001782 RID: 6018 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004FA")]
public T Current
{
[Token(Token = "0x6001782")]
[Address(RVA = "0x333FC70", Offset = "0x333EA70", VA = "0x18333FC70", Slot = "4")]
get
{
return null;
}
}
// Token: 0x06001783 RID: 6019 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001783")]
[Address(RVA = "0x333F140", Offset = "0x333DF40", VA = "0x18333F140")]
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: 0x170004FB RID: 1275
// (get) Token: 0x06001784 RID: 6020 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004FB")]
object IEnumerator.Current
{
[Token(Token = "0x6001784")]
[Address(RVA = "0x333E7F0", Offset = "0x333D5F0", VA = "0x18333E7F0", 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: 0x06001785 RID: 6021 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001785")]
[Address(RVA = "0x333E330", Offset = "0x333D130", VA = "0x18333E330", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x04000EC6 RID: 3782
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC6")]
private readonly Stack _stack;
// Token: 0x04000EC7 RID: 3783
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC7")]
private readonly int _version;
// Token: 0x04000EC8 RID: 3784
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC8")]
private int _index;
// Token: 0x04000EC9 RID: 3785
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000EC9")]
private T _currentElement;
}
}
}