using System;
using System.Diagnostics;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// Represents a first-in, first-out collection of objects.
/// Specifies the type of elements in the queue.
// Token: 0x02000347 RID: 839
[Token(Token = "0x2000347")]
[DebuggerTypeProxy(typeof(QueueDebugView<>))]
[DebuggerDisplay("Count = {Count}")]
[Serializable]
public class Queue : IEnumerable, IEnumerable, ICollection, IReadOnlyCollection
{
/// Initializes a new instance of the class that is empty and has the default initial capacity.
// Token: 0x06001609 RID: 5641 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001609")]
[Address(RVA = "0x2F00540", Offset = "0x2EFF540", VA = "0x182F00540")]
public Queue()
{
}
/// Initializes a new instance of the class that is empty and has the specified initial capacity.
/// The initial number of elements that the can contain.
///
/// is less than zero.
// Token: 0x0600160A RID: 5642 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600160A")]
[Address(RVA = "0x3547570", Offset = "0x3546570", VA = "0x183547570")]
public Queue(int capacity)
{
}
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x17000494 RID: 1172
// (get) Token: 0x0600160B RID: 5643 RVA: 0x00009BA0 File Offset: 0x00007DA0
[Token(Token = "0x17000494")]
public int Count
{
[Token(Token = "0x600160B")]
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", 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: 0x17000495 RID: 1173
// (get) Token: 0x0600160C RID: 5644 RVA: 0x00009BB8 File Offset: 0x00007DB8
[Token(Token = "0x17000495")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x600160C")]
[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: 0x17000496 RID: 1174
// (get) Token: 0x0600160D RID: 5645 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000496")]
object ICollection.SyncRoot
{
[Token(Token = "0x600160D")]
[Address(RVA = "0x35466A0", Offset = "0x35456A0", VA = "0x1835466A0", Slot = "8")]
get
{
return null;
}
}
/// Removes all objects from the .
// Token: 0x0600160E RID: 5646 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600160E")]
[Address(RVA = "0x3541920", Offset = "0x3540920", VA = "0x183541920")]
public void Clear()
{
}
/// 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: 0x0600160F RID: 5647 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600160F")]
[Address(RVA = "0x35446E0", Offset = "0x35436E0", VA = "0x1835446E0", Slot = "6")]
void ICollection.CopyTo(Array array, int index)
{
}
/// Adds an object to the end of the .
/// The object to add to the . The value can be for reference types.
// Token: 0x06001610 RID: 5648 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001610")]
[Address(RVA = "0x3542B10", Offset = "0x3541B10", VA = "0x183542B10")]
public void Enqueue(T item)
{
}
/// Returns an enumerator that iterates through the .
/// An for the .
// Token: 0x06001611 RID: 5649 RVA: 0x00009BD0 File Offset: 0x00007DD0
[Token(Token = "0x6001611")]
[Address(RVA = "0x3543300", Offset = "0x3542300", VA = "0x183543300")]
public Queue.Enumerator GetEnumerator()
{
return default(Queue.Enumerator);
}
// Token: 0x06001612 RID: 5650 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001612")]
[Address(RVA = "0x35439E0", Offset = "0x35429E0", VA = "0x1835439E0", 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: 0x06001613 RID: 5651 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001613")]
[Address(RVA = "0x35439E0", Offset = "0x35429E0", VA = "0x1835439E0", Slot = "5")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// Removes and returns the object at the beginning of the .
/// The object that is removed from the beginning of the .
/// The is empty.
// Token: 0x06001614 RID: 5652 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001614")]
[Address(RVA = "0x3542570", Offset = "0x3541570", VA = "0x183542570")]
public T Dequeue()
{
return null;
}
/// Returns the object at the beginning of the without removing it.
/// The object at the beginning of the .
/// The is empty.
// Token: 0x06001615 RID: 5653 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001615")]
[Address(RVA = "0x3543590", Offset = "0x3542590", VA = "0x183543590")]
public T Peek()
{
return null;
}
/// 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: 0x06001616 RID: 5654 RVA: 0x00009BE8 File Offset: 0x00007DE8
[Token(Token = "0x6001616")]
[Address(RVA = "0x3541BB0", Offset = "0x3540BB0", VA = "0x183541BB0")]
public bool Contains(T item)
{
return default(bool);
}
/// Copies the elements to a new array.
/// A new array containing elements copied from the .
// Token: 0x06001617 RID: 5655 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001617")]
[Address(RVA = "0x3546FD0", Offset = "0x3545FD0", VA = "0x183546FD0")]
public T[] ToArray()
{
return null;
}
// Token: 0x06001618 RID: 5656 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001618")]
[Address(RVA = "0x3543900", Offset = "0x3542900", VA = "0x183543900")]
private void SetCapacity(int capacity)
{
}
// Token: 0x06001619 RID: 5657 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001619")]
[Address(RVA = "0x3543500", Offset = "0x3542500", VA = "0x183543500")]
private void MoveNext(ref int index)
{
}
// Token: 0x0600161A RID: 5658 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600161A")]
[Address(RVA = "0x3546C70", Offset = "0x3545C70", VA = "0x183546C70")]
private void ThrowForEmptyQueue()
{
}
// Token: 0x04000E4A RID: 3658
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E4A")]
private T[] _array;
// Token: 0x04000E4B RID: 3659
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E4B")]
private int _head;
// Token: 0x04000E4C RID: 3660
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E4C")]
private int _tail;
// Token: 0x04000E4D RID: 3661
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E4D")]
private int _size;
// Token: 0x04000E4E RID: 3662
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E4E")]
private int _version;
// Token: 0x04000E4F RID: 3663
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E4F")]
[NonSerialized]
private object _syncRoot;
// Token: 0x04000E50 RID: 3664
[Token(Token = "0x4000E50")]
private const int MinimumGrow = 4;
// Token: 0x04000E51 RID: 3665
[Token(Token = "0x4000E51")]
private const int GrowFactor = 200;
/// Enumerates the elements of a .
///
// Token: 0x02000348 RID: 840
[Token(Token = "0x2000348")]
[Serializable]
public struct Enumerator : IEnumerator, IDisposable, IEnumerator
{
// Token: 0x0600161B RID: 5659 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600161B")]
[Address(RVA = "0x3031900", Offset = "0x3030900", VA = "0x183031900")]
internal Enumerator(Queue q)
{
}
/// Releases all resources used by the .
// Token: 0x0600161C RID: 5660 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600161C")]
[Address(RVA = "0x302FDF0", Offset = "0x302EDF0", VA = "0x18302FDF0", 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: 0x0600161D RID: 5661 RVA: 0x00009C00 File Offset: 0x00007E00
[Token(Token = "0x600161D")]
[Address(RVA = "0x302FF30", Offset = "0x302EF30", VA = "0x18302FF30", 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: 0x17000497 RID: 1175
// (get) Token: 0x0600161E RID: 5662 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000497")]
public T Current
{
[Token(Token = "0x600161E")]
[Address(RVA = "0x35403E0", Offset = "0x353F3E0", VA = "0x1835403E0", Slot = "4")]
get
{
return null;
}
}
// Token: 0x0600161F RID: 5663 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600161F")]
[Address(RVA = "0x30317B0", Offset = "0x30307B0", VA = "0x1830317B0")]
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: 0x17000498 RID: 1176
// (get) Token: 0x06001620 RID: 5664 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000498")]
object IEnumerator.Current
{
[Token(Token = "0x6001620")]
[Address(RVA = "0x3030D80", Offset = "0x302FD80", VA = "0x183030D80", Slot = "7")]
get
{
return null;
}
}
/// Sets the enumerator to its initial position, which is before the first element in the collection.
/// The collection was modified after the enumerator was created.
// Token: 0x06001621 RID: 5665 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001621")]
[Address(RVA = "0x3030AC0", Offset = "0x302FAC0", VA = "0x183030AC0", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x04000E52 RID: 3666
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E52")]
private readonly Queue _q;
// Token: 0x04000E53 RID: 3667
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E53")]
private readonly int _version;
// Token: 0x04000E54 RID: 3668
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E54")]
private int _index;
// Token: 0x04000E55 RID: 3669
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E55")]
private T _currentElement;
}
}
}