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: 0x0200034B RID: 843
[Token(Token = "0x200034B")]
[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: 0x0600161F RID: 5663 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600161F")]
[Address(RVA = "0x28EB280", Offset = "0x28EA080", VA = "0x1828EB280")]
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: 0x06001620 RID: 5664 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001620")]
[Address(RVA = "0x2CBC680", Offset = "0x2CBB480", VA = "0x182CBC680")]
public Queue(int capacity)
{
}
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x17000498 RID: 1176
// (get) Token: 0x06001621 RID: 5665 RVA: 0x00009BB8 File Offset: 0x00007DB8
[Token(Token = "0x17000498")]
public int Count
{
[Token(Token = "0x6001621")]
[Address(RVA = "0x3F7310", Offset = "0x3F6110", VA = "0x1803F7310", 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: 0x17000499 RID: 1177
// (get) Token: 0x06001622 RID: 5666 RVA: 0x00009BD0 File Offset: 0x00007DD0
[Token(Token = "0x17000499")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6001622")]
[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: 0x1700049A RID: 1178
// (get) Token: 0x06001623 RID: 5667 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700049A")]
object ICollection.SyncRoot
{
[Token(Token = "0x6001623")]
[Address(RVA = "0x2CBBDA0", Offset = "0x2CBABA0", VA = "0x182CBBDA0", Slot = "8")]
get
{
return null;
}
}
/// Removes all objects from the .
// Token: 0x06001624 RID: 5668 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001624")]
[Address(RVA = "0x2CB9550", Offset = "0x2CB8350", VA = "0x182CB9550")]
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: 0x06001625 RID: 5669 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001625")]
[Address(RVA = "0x2CBACA0", Offset = "0x2CB9AA0", VA = "0x182CBACA0", 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: 0x06001626 RID: 5670 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001626")]
[Address(RVA = "0x31326E0", Offset = "0x31314E0", VA = "0x1831326E0")]
public void Enqueue(T item)
{
}
/// Returns an enumerator that iterates through the .
/// An for the .
// Token: 0x06001627 RID: 5671 RVA: 0x00009BE8 File Offset: 0x00007DE8
[Token(Token = "0x6001627")]
[Address(RVA = "0x3132B10", Offset = "0x3131910", VA = "0x183132B10")]
public Queue.Enumerator GetEnumerator()
{
return default(Queue.Enumerator);
}
// Token: 0x06001628 RID: 5672 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001628")]
[Address(RVA = "0x2CBA790", Offset = "0x2CB9590", VA = "0x182CBA790", 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: 0x06001629 RID: 5673 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001629")]
[Address(RVA = "0x2CBA790", Offset = "0x2CB9590", VA = "0x182CBA790", 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: 0x0600162A RID: 5674 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600162A")]
[Address(RVA = "0x3132510", Offset = "0x3131310", VA = "0x183132510")]
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: 0x0600162B RID: 5675 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600162B")]
[Address(RVA = "0x2CBA480", Offset = "0x2CB9280", VA = "0x182CBA480")]
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: 0x0600162C RID: 5676 RVA: 0x00009C00 File Offset: 0x00007E00
[Token(Token = "0x600162C")]
[Address(RVA = "0x2CB96E0", Offset = "0x2CB84E0", VA = "0x182CB96E0")]
public bool Contains(T item)
{
return default(bool);
}
/// Copies the elements to a new array.
/// A new array containing elements copied from the .
// Token: 0x0600162D RID: 5677 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600162D")]
[Address(RVA = "0x2CBC270", Offset = "0x2CBB070", VA = "0x182CBC270")]
public T[] ToArray()
{
return null;
}
// Token: 0x0600162E RID: 5678 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600162E")]
[Address(RVA = "0x2CBA6B0", Offset = "0x2CB94B0", VA = "0x182CBA6B0")]
private void SetCapacity(int capacity)
{
}
// Token: 0x0600162F RID: 5679 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600162F")]
[Address(RVA = "0x2CBA450", Offset = "0x2CB9250", VA = "0x182CBA450")]
private void MoveNext(ref int index)
{
}
// Token: 0x06001630 RID: 5680 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001630")]
[Address(RVA = "0x2CBC090", Offset = "0x2CBAE90", VA = "0x182CBC090")]
private void ThrowForEmptyQueue()
{
}
/// Sets the capacity to the actual number of elements in the , if that number is less than 90 percent of current capacity.
// Token: 0x06001631 RID: 5681 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001631")]
[Address(RVA = "0x2CBC360", Offset = "0x2CBB160", VA = "0x182CBC360")]
public void TrimExcess()
{
}
// Token: 0x04000E57 RID: 3671
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E57")]
private T[] _array;
// Token: 0x04000E58 RID: 3672
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E58")]
private int _head;
// Token: 0x04000E59 RID: 3673
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E59")]
private int _tail;
// Token: 0x04000E5A RID: 3674
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E5A")]
private int _size;
// Token: 0x04000E5B RID: 3675
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E5B")]
private int _version;
// Token: 0x04000E5C RID: 3676
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E5C")]
[NonSerialized]
private object _syncRoot;
// Token: 0x04000E5D RID: 3677
[Token(Token = "0x4000E5D")]
private const int MinimumGrow = 4;
// Token: 0x04000E5E RID: 3678
[Token(Token = "0x4000E5E")]
private const int GrowFactor = 200;
/// Enumerates the elements of a .
///
// Token: 0x0200034C RID: 844
[Token(Token = "0x200034C")]
[Serializable]
public struct Enumerator : IEnumerator, IDisposable, IEnumerator
{
// Token: 0x06001632 RID: 5682 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001632")]
[Address(RVA = "0x2CB4110", Offset = "0x2CB2F10", VA = "0x182CB4110")]
internal Enumerator(Queue q)
{
}
/// Releases all resources used by the .
// Token: 0x06001633 RID: 5683 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001633")]
[Address(RVA = "0x2CB1B80", Offset = "0x2CB0980", VA = "0x182CB1B80", 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: 0x06001634 RID: 5684 RVA: 0x00009C18 File Offset: 0x00007E18
[Token(Token = "0x6001634")]
[Address(RVA = "0x2CB1CE0", Offset = "0x2CB0AE0", VA = "0x182CB1CE0", 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: 0x1700049B RID: 1179
// (get) Token: 0x06001635 RID: 5685 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700049B")]
public T Current
{
[Token(Token = "0x6001635")]
[Address(RVA = "0x2CB4440", Offset = "0x2CB3240", VA = "0x182CB4440", Slot = "4")]
get
{
return null;
}
}
// Token: 0x06001636 RID: 5686 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001636")]
[Address(RVA = "0x2CB3FC0", Offset = "0x2CB2DC0", VA = "0x182CB3FC0")]
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: 0x1700049C RID: 1180
// (get) Token: 0x06001637 RID: 5687 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700049C")]
object IEnumerator.Current
{
[Token(Token = "0x6001637")]
[Address(RVA = "0x2CB3210", Offset = "0x2CB2010", VA = "0x182CB3210", 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: 0x06001638 RID: 5688 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001638")]
[Address(RVA = "0x2CB2D00", Offset = "0x2CB1B00", VA = "0x182CB2D00", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x04000E5F RID: 3679
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E5F")]
private readonly Queue _q;
// Token: 0x04000E60 RID: 3680
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E60")]
private readonly int _version;
// Token: 0x04000E61 RID: 3681
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E61")]
private int _index;
// Token: 0x04000E62 RID: 3682
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000E62")]
private T _currentElement;
}
}
}