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: 0x020005CF RID: 1487
[Token(Token = "0x20005CF")]
[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: 0x06002D31 RID: 11569 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D31")]
[Address(RVA = "0x254A440", Offset = "0x2549240", VA = "0x18254A440")]
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: 0x06002D32 RID: 11570 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D32")]
[Address(RVA = "0x254A490", Offset = "0x2549290", VA = "0x18254A490")]
public Stack(int initialCapacity)
{
}
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x170006EF RID: 1775
// (get) Token: 0x06002D33 RID: 11571 RVA: 0x00017A78 File Offset: 0x00015C78
[Token(Token = "0x170006EF")]
public virtual int Count
{
[Token(Token = "0x6002D33")]
[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, . The default is .
// Token: 0x170006F0 RID: 1776
// (get) Token: 0x06002D34 RID: 11572 RVA: 0x00017A90 File Offset: 0x00015C90
[Token(Token = "0x170006F0")]
public virtual bool IsSynchronized
{
[Token(Token = "0x6002D34")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x170006F1 RID: 1777
// (get) Token: 0x06002D35 RID: 11573 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170006F1")]
public virtual object SyncRoot
{
[Token(Token = "0x6002D35")]
[Address(RVA = "0x254A540", Offset = "0x2549340", VA = "0x18254A540", Slot = "12")]
get
{
return null;
}
}
/// Removes all objects from the .
// Token: 0x06002D36 RID: 11574 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D36")]
[Address(RVA = "0x2549D50", Offset = "0x2548B50", VA = "0x182549D50", Slot = "13")]
public virtual void Clear()
{
}
/// Creates a shallow copy of the .
/// A shallow copy of the .
// Token: 0x06002D37 RID: 11575 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D37")]
[Address(RVA = "0x2549D80", Offset = "0x2548B80", VA = "0x182549D80", 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: 0x06002D38 RID: 11576 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D38")]
[Address(RVA = "0x2549E90", Offset = "0x2548C90", VA = "0x182549E90", Slot = "15")]
public virtual void CopyTo(Array array, int index)
{
}
/// Returns an for the .
/// An for the .
// Token: 0x06002D39 RID: 11577 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D39")]
[Address(RVA = "0x254A130", Offset = "0x2548F30", VA = "0x18254A130", 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: 0x06002D3A RID: 11578 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D3A")]
[Address(RVA = "0x254A1B0", Offset = "0x2548FB0", VA = "0x18254A1B0", 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: 0x06002D3B RID: 11579 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D3B")]
[Address(RVA = "0x254A260", Offset = "0x2549060", VA = "0x18254A260", 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: 0x06002D3C RID: 11580 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D3C")]
[Address(RVA = "0x254A340", Offset = "0x2549140", VA = "0x18254A340", Slot = "19")]
public virtual void Push(object obj)
{
}
// Token: 0x040019D7 RID: 6615
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40019D7")]
private object[] _array;
// Token: 0x040019D8 RID: 6616
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40019D8")]
private int _size;
// Token: 0x040019D9 RID: 6617
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x40019D9")]
private int _version;
// Token: 0x040019DA RID: 6618
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40019DA")]
[NonSerialized]
private object _syncRoot;
// Token: 0x020005D0 RID: 1488
[Token(Token = "0x20005D0")]
[Serializable]
private class StackEnumerator : IEnumerator, ICloneable
{
// Token: 0x06002D3D RID: 11581 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D3D")]
[Address(RVA = "0x2549C30", Offset = "0x2548A30", VA = "0x182549C30")]
internal StackEnumerator(Stack stack)
{
}
// Token: 0x06002D3E RID: 11582 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D3E")]
[Address(RVA = "0x6A0DF0", Offset = "0x69FBF0", VA = "0x1806A0DF0", Slot = "7")]
public object Clone()
{
return null;
}
// Token: 0x06002D3F RID: 11583 RVA: 0x00017AA8 File Offset: 0x00015CA8
[Token(Token = "0x6002D3F")]
[Address(RVA = "0x2549A50", Offset = "0x2548850", VA = "0x182549A50", Slot = "8")]
public virtual bool MoveNext()
{
return default(bool);
}
// Token: 0x170006F2 RID: 1778
// (get) Token: 0x06002D40 RID: 11584 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170006F2")]
public virtual object Current
{
[Token(Token = "0x6002D40")]
[Address(RVA = "0x2549C80", Offset = "0x2548A80", VA = "0x182549C80", Slot = "9")]
get
{
return null;
}
}
// Token: 0x06002D41 RID: 11585 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D41")]
[Address(RVA = "0x2549B90", Offset = "0x2548990", VA = "0x182549B90", Slot = "10")]
public virtual void Reset()
{
}
// Token: 0x040019DB RID: 6619
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40019DB")]
private Stack _stack;
// Token: 0x040019DC RID: 6620
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40019DC")]
private int _index;
// Token: 0x040019DD RID: 6621
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x40019DD")]
private int _version;
// Token: 0x040019DE RID: 6622
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40019DE")]
private object currentElement;
}
// Token: 0x020005D1 RID: 1489
[Token(Token = "0x20005D1")]
internal class StackDebugView
{
}
}
}