using System; using System.Collections.Generic; using System.Diagnostics; using Cpp2IlInjected; namespace System.Collections.Concurrent { /// Represents a thread-safe last in-first out (LIFO) collection. /// The type of the elements contained in the stack. // Token: 0x020005E1 RID: 1505 [Token(Token = "0x20005E1")] [DebuggerDisplay("Count = {Count}")] [DebuggerTypeProxy(typeof(IProducerConsumerCollectionDebugView<>))] [Serializable] public class ConcurrentStack : IEnumerable, IEnumerable, ICollection, IReadOnlyCollection { /// Initializes a new instance of the class. // Token: 0x06002DFE RID: 11774 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002DFE")] [Address(RVA = "0x118F5A0", Offset = "0x118E3A0", VA = "0x18118F5A0")] public ConcurrentStack() { } /// Gets the number of elements contained in the . /// The number of elements contained in the . // Token: 0x17000724 RID: 1828 // (get) Token: 0x06002DFF RID: 11775 RVA: 0x00018078 File Offset: 0x00016278 [Token(Token = "0x17000724")] public int Count { [Token(Token = "0x6002DFF")] [Address(RVA = "0x3448A20", Offset = "0x3447820", VA = "0x183448A20", Slot = "10")] get { return 0; } } /// Gets a value indicating whether access to the is synchronized with the SyncRoot. /// Always returns to indicate access is not synchronized. // Token: 0x17000725 RID: 1829 // (get) Token: 0x06002E00 RID: 11776 RVA: 0x00018090 File Offset: 0x00016290 [Token(Token = "0x17000725")] bool ICollection.IsSynchronized { [Token(Token = "0x6002E00")] [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 . This property is not supported. /// Returns null (Nothing in Visual Basic). /// The SyncRoot property is not supported // Token: 0x17000726 RID: 1830 // (get) Token: 0x06002E01 RID: 11777 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000726")] object ICollection.SyncRoot { [Token(Token = "0x6002E01")] [Address(RVA = "0x34484E0", Offset = "0x34472E0", VA = "0x1834484E0", Slot = "8")] get { return null; } } /// Removes all objects from the . // Token: 0x06002E02 RID: 11778 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002E02")] [Address(RVA = "0x34480D0", Offset = "0x3446ED0", VA = "0x1834480D0")] 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 . The must have zero-based indexing. /// The zero-based index in at which copying begins. /// /// is a null reference (Nothing in Visual Basic). /// /// is less than zero. /// /// is multidimensional. -or- does not have zero-based indexing. -or- is equal to or greater than the length of the -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: 0x06002E03 RID: 11779 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002E03")] [Address(RVA = "0x34483B0", Offset = "0x34471B0", VA = "0x1834483B0", Slot = "6")] void ICollection.CopyTo(Array array, int index) { } /// Inserts an object at the top of the . /// The object to push onto the . The value can be a null reference (Nothing in Visual Basic) for reference types. // Token: 0x06002E04 RID: 11780 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002E04")] [Address(RVA = "0x34482D0", Offset = "0x34470D0", VA = "0x1834482D0")] public void Push(T item) { } // Token: 0x06002E05 RID: 11781 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002E05")] [Address(RVA = "0x34481C0", Offset = "0x3446FC0", VA = "0x1834481C0")] private void PushCore(ConcurrentStack.Node head, ConcurrentStack.Node tail) { } /// Attempts to pop and return the object at the top of the . /// When this method returns, if the operation was successful, contains the object removed. If no object was available to be removed, the value is unspecified. /// true if an element was removed and returned from the top of the successfully; otherwise, false. // Token: 0x06002E06 RID: 11782 RVA: 0x000180A8 File Offset: 0x000162A8 [Token(Token = "0x6002E06")] [Address(RVA = "0x3448980", Offset = "0x3447780", VA = "0x183448980")] public bool TryPop(out T result) { return default(bool); } // Token: 0x06002E07 RID: 11783 RVA: 0x000180C0 File Offset: 0x000162C0 [Token(Token = "0x6002E07")] [Address(RVA = "0x3448690", Offset = "0x3447490", VA = "0x183448690")] private bool TryPopCore(out T result) { return default(bool); } // Token: 0x06002E08 RID: 11784 RVA: 0x000180D8 File Offset: 0x000162D8 [Token(Token = "0x6002E08")] [Address(RVA = "0x3448700", Offset = "0x3447500", VA = "0x183448700")] private int TryPopCore(int count, out ConcurrentStack.Node poppedHead) { return 0; } // Token: 0x06002E09 RID: 11785 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002E09")] [Address(RVA = "0x3448590", Offset = "0x3447390", VA = "0x183448590")] private List ToList() { return null; } // Token: 0x06002E0A RID: 11786 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002E0A")] [Address(RVA = "0x34485E0", Offset = "0x34473E0", VA = "0x1834485E0")] private List ToList(ConcurrentStack.Node curr) { return null; } /// Returns an enumerator that iterates through the . /// An enumerator for the . // Token: 0x06002E0B RID: 11787 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002E0B")] [Address(RVA = "0x3448170", Offset = "0x3446F70", VA = "0x183448170", Slot = "4")] public IEnumerator GetEnumerator() { return null; } // Token: 0x06002E0C RID: 11788 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002E0C")] [Address(RVA = "0x34480F0", Offset = "0x3446EF0", VA = "0x1834480F0")] private IEnumerator GetEnumerator(ConcurrentStack.Node head) { return null; } /// Returns an enumerator that iterates through a collection. /// An that can be used to iterate through the collection. // Token: 0x06002E0D RID: 11789 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002E0D")] [Address(RVA = "0x3448540", Offset = "0x3447340", VA = "0x183448540", Slot = "5")] IEnumerator IEnumerable.GetEnumerator() { return null; } // Token: 0x04001A19 RID: 6681 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001A19")] private ConcurrentStack.Node _head; // Token: 0x020005E2 RID: 1506 [Token(Token = "0x20005E2")] [Serializable] private class Node { // Token: 0x06002E0E RID: 11790 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002E0E")] [Address(RVA = "0x3448A70", Offset = "0x3447870", VA = "0x183448A70")] internal Node(T value) { } // Token: 0x04001A1A RID: 6682 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001A1A")] internal readonly T _value; // Token: 0x04001A1B RID: 6683 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001A1B")] internal ConcurrentStack.Node _next; } } }