m
This commit is contained in:
@@ -0,0 +1,329 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections
|
||||
{
|
||||
/// <summary>Represents a first-in, first-out collection of objects.</summary>
|
||||
// Token: 0x020005E4 RID: 1508
|
||||
[Token(Token = "0x20005E4")]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[ComVisible(true)]
|
||||
[DebuggerTypeProxy(typeof(Queue.QueueDebugView))]
|
||||
[Serializable]
|
||||
public class Queue : ICollection, IEnumerable, ICloneable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Queue" /> class that is empty, has the default initial capacity, and uses the default growth factor.</summary>
|
||||
// Token: 0x06002EC4 RID: 11972 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002EC4")]
|
||||
[Address(RVA = "0x2C44BA0", Offset = "0x2C43BA0", VA = "0x182C44BA0")]
|
||||
public Queue()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Queue" /> class that is empty, has the specified initial capacity, and uses the default growth factor.</summary>
|
||||
/// <param name="capacity">The initial number of elements that the <see cref="T:System.Collections.Queue" /> can contain.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="capacity" /> is less than zero.</exception>
|
||||
// Token: 0x06002EC5 RID: 11973 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002EC5")]
|
||||
[Address(RVA = "0x2C447E0", Offset = "0x2C437E0", VA = "0x182C447E0")]
|
||||
public Queue(int capacity)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Queue" /> class that is empty, has the specified initial capacity, and uses the specified growth factor.</summary>
|
||||
/// <param name="capacity">The initial number of elements that the <see cref="T:System.Collections.Queue" /> can contain.</param>
|
||||
/// <param name="growFactor">The factor by which the capacity of the <see cref="T:System.Collections.Queue" /> is expanded.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="capacity" /> is less than zero.
|
||||
/// -or-
|
||||
/// <paramref name="growFactor" /> is less than 1.0 or greater than 10.0.</exception>
|
||||
// Token: 0x06002EC6 RID: 11974 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002EC6")]
|
||||
[Address(RVA = "0x2C449E0", Offset = "0x2C439E0", VA = "0x182C449E0")]
|
||||
public Queue(int capacity, float growFactor)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Queue" /> class that contains elements copied from the specified collection, has the same initial capacity as the number of elements copied, and uses the default growth factor.</summary>
|
||||
/// <param name="col">The <see cref="T:System.Collections.ICollection" /> to copy elements from.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="col" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002EC7 RID: 11975 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002EC7")]
|
||||
[Address(RVA = "0x2C447F0", Offset = "0x2C437F0", VA = "0x182C447F0")]
|
||||
public Queue(ICollection col)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of elements contained in the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
/// <returns>The number of elements contained in the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
// Token: 0x1700073F RID: 1855
|
||||
// (get) Token: 0x06002EC8 RID: 11976 RVA: 0x00019AD0 File Offset: 0x00017CD0
|
||||
[Token(Token = "0x1700073F")]
|
||||
public virtual int Count
|
||||
{
|
||||
[Token(Token = "0x6002EC8")]
|
||||
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a shallow copy of the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
/// <returns>A shallow copy of the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
// Token: 0x06002EC9 RID: 11977 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002EC9")]
|
||||
[Address(RVA = "0x2C43F10", Offset = "0x2C42F10", VA = "0x182C43F10", Slot = "11")]
|
||||
public virtual object Clone()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.Queue" /> is synchronized (thread safe).</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if access to the <see cref="T:System.Collections.Queue" /> is synchronized (thread safe); otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
||||
// Token: 0x17000740 RID: 1856
|
||||
// (get) Token: 0x06002ECA RID: 11978 RVA: 0x00019AE8 File Offset: 0x00017CE8
|
||||
[Token(Token = "0x17000740")]
|
||||
public virtual bool IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6002ECA")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
// Token: 0x17000741 RID: 1857
|
||||
// (get) Token: 0x06002ECB RID: 11979 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000741")]
|
||||
public virtual object SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6002ECB")]
|
||||
[Address(RVA = "0x2C44BC0", Offset = "0x2C43BC0", VA = "0x182C44BC0", Slot = "13")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Removes all objects from the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
// Token: 0x06002ECC RID: 11980 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002ECC")]
|
||||
[Address(RVA = "0x2C43EB0", Offset = "0x2C42EB0", VA = "0x182C43EB0", Slot = "14")]
|
||||
public virtual void Clear()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies the <see cref="T:System.Collections.Queue" /> elements to an existing one-dimensional <see cref="T:System.Array" />, starting at the specified array index.</summary>
|
||||
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Queue" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
|
||||
/// <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is less than zero.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="array" /> is multidimensional.
|
||||
/// -or-
|
||||
/// The number of elements in the source <see cref="T:System.Collections.Queue" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
|
||||
/// <exception cref="T:System.ArrayTypeMismatchException">The type of the source <see cref="T:System.Collections.Queue" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
||||
// Token: 0x06002ECD RID: 11981 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002ECD")]
|
||||
[Address(RVA = "0x2C44010", Offset = "0x2C43010", VA = "0x182C44010", Slot = "15")]
|
||||
public virtual void CopyTo(Array array, int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Adds an object to the end of the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
/// <param name="obj">The object to add to the <see cref="T:System.Collections.Queue" />. The value can be <see langword="null" />.</param>
|
||||
// Token: 0x06002ECE RID: 11982 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002ECE")]
|
||||
[Address(RVA = "0x2C44300", Offset = "0x2C43300", VA = "0x182C44300", Slot = "16")]
|
||||
public virtual void Enqueue(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
// Token: 0x06002ECF RID: 11983 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002ECF")]
|
||||
[Address(RVA = "0x2C444F0", Offset = "0x2C434F0", VA = "0x182C444F0", Slot = "17")]
|
||||
public virtual IEnumerator GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Removes and returns the object at the beginning of the <see cref="T:System.Collections.Queue" />.</summary>
|
||||
/// <returns>The object that is removed from the beginning of the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Queue" /> is empty.</exception>
|
||||
// Token: 0x06002ED0 RID: 11984 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002ED0")]
|
||||
[Address(RVA = "0x2C44210", Offset = "0x2C43210", VA = "0x182C44210", Slot = "18")]
|
||||
public virtual object Dequeue()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the object at the beginning of the <see cref="T:System.Collections.Queue" /> without removing it.</summary>
|
||||
/// <returns>The object at the beginning of the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Queue" /> is empty.</exception>
|
||||
// Token: 0x06002ED1 RID: 11985 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002ED1")]
|
||||
[Address(RVA = "0x2C44580", Offset = "0x2C43580", VA = "0x182C44580", Slot = "19")]
|
||||
public virtual object Peek()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002ED2 RID: 11986 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002ED2")]
|
||||
[Address(RVA = "0x2C444B0", Offset = "0x2C434B0", VA = "0x182C444B0")]
|
||||
internal object GetElement(int i)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Copies the <see cref="T:System.Collections.Queue" /> elements to a new array.</summary>
|
||||
/// <returns>A new array containing elements copied from the <see cref="T:System.Collections.Queue" />.</returns>
|
||||
// Token: 0x06002ED3 RID: 11987 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002ED3")]
|
||||
[Address(RVA = "0x2C44720", Offset = "0x2C43720", VA = "0x182C44720", Slot = "20")]
|
||||
public virtual object[] ToArray()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002ED4 RID: 11988 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002ED4")]
|
||||
[Address(RVA = "0x2C44640", Offset = "0x2C43640", VA = "0x182C44640")]
|
||||
private void SetCapacity(int capacity)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001A75 RID: 6773
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001A75")]
|
||||
private object[] _array;
|
||||
|
||||
// Token: 0x04001A76 RID: 6774
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001A76")]
|
||||
private int _head;
|
||||
|
||||
// Token: 0x04001A77 RID: 6775
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4001A77")]
|
||||
private int _tail;
|
||||
|
||||
// Token: 0x04001A78 RID: 6776
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001A78")]
|
||||
private int _size;
|
||||
|
||||
// Token: 0x04001A79 RID: 6777
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4001A79")]
|
||||
private int _growFactor;
|
||||
|
||||
// Token: 0x04001A7A RID: 6778
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001A7A")]
|
||||
private int _version;
|
||||
|
||||
// Token: 0x04001A7B RID: 6779
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001A7B")]
|
||||
[NonSerialized]
|
||||
private object _syncRoot;
|
||||
|
||||
// Token: 0x04001A7C RID: 6780
|
||||
[Token(Token = "0x4001A7C")]
|
||||
private const int _MinimumGrow = 4;
|
||||
|
||||
// Token: 0x04001A7D RID: 6781
|
||||
[Token(Token = "0x4001A7D")]
|
||||
private const int _ShrinkThreshold = 32;
|
||||
|
||||
// Token: 0x020005E5 RID: 1509
|
||||
[Token(Token = "0x20005E5")]
|
||||
[Serializable]
|
||||
private class QueueEnumerator : IEnumerator, ICloneable
|
||||
{
|
||||
// Token: 0x06002ED5 RID: 11989 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002ED5")]
|
||||
[Address(RVA = "0x2C43D80", Offset = "0x2C42D80", VA = "0x182C43D80")]
|
||||
internal QueueEnumerator(Queue q)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002ED6 RID: 11990 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002ED6")]
|
||||
[Address(RVA = "0x64CFC0", Offset = "0x64BFC0", VA = "0x18064CFC0", Slot = "7")]
|
||||
public object Clone()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002ED7 RID: 11991 RVA: 0x00019B00 File Offset: 0x00017D00
|
||||
[Token(Token = "0x6002ED7")]
|
||||
[Address(RVA = "0x2C43BC0", Offset = "0x2C42BC0", VA = "0x182C43BC0", Slot = "8")]
|
||||
public virtual bool MoveNext()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000742 RID: 1858
|
||||
// (get) Token: 0x06002ED8 RID: 11992 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000742")]
|
||||
public virtual object Current
|
||||
{
|
||||
[Token(Token = "0x6002ED8")]
|
||||
[Address(RVA = "0x2C43DE0", Offset = "0x2C42DE0", VA = "0x182C43DE0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002ED9 RID: 11993 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002ED9")]
|
||||
[Address(RVA = "0x2C43CD0", Offset = "0x2C42CD0", VA = "0x182C43CD0", Slot = "10")]
|
||||
public virtual void Reset()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001A7E RID: 6782
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001A7E")]
|
||||
private Queue _q;
|
||||
|
||||
// Token: 0x04001A7F RID: 6783
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001A7F")]
|
||||
private int _index;
|
||||
|
||||
// Token: 0x04001A80 RID: 6784
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4001A80")]
|
||||
private int _version;
|
||||
|
||||
// Token: 0x04001A81 RID: 6785
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001A81")]
|
||||
private object currentElement;
|
||||
}
|
||||
|
||||
// Token: 0x020005E6 RID: 1510
|
||||
[Token(Token = "0x20005E6")]
|
||||
internal class QueueDebugView
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user