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: 0x02000601 RID: 1537 [Token(Token = "0x2000601")] [DebuggerDisplay("Count = {Count}")] [DebuggerTypeProxy(typeof(IProducerConsumerCollectionDebugView<>))] [Serializable] public class ConcurrentStack : IEnumerable, IEnumerable, ICollection, IReadOnlyCollection { /// Initializes a new instance of the class. // Token: 0x06003016 RID: 12310 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6003016")] [Address(RVA = "0x1CC5E40", Offset = "0x1CC4E40", VA = "0x181CC5E40")] public ConcurrentStack() { } /// Gets the number of elements contained in the . /// The number of elements contained in the . // Token: 0x1700079C RID: 1948 // (get) Token: 0x06003017 RID: 12311 RVA: 0x0001A4A8 File Offset: 0x000186A8 [Token(Token = "0x1700079C")] public int Count { [Token(Token = "0x6003017")] [Address(RVA = "0x3611860", Offset = "0x3610860", VA = "0x183611860", 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: 0x1700079D RID: 1949 // (get) Token: 0x06003018 RID: 12312 RVA: 0x0001A4C0 File Offset: 0x000186C0 [Token(Token = "0x1700079D")] bool ICollection.IsSynchronized { [Token(Token = "0x6003018")] [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 . This property is not supported. /// Returns null (Nothing in Visual Basic). /// The SyncRoot property is not supported // Token: 0x1700079E RID: 1950 // (get) Token: 0x06003019 RID: 12313 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700079E")] object ICollection.SyncRoot { [Token(Token = "0x6003019")] [Address(RVA = "0x3611320", Offset = "0x3610320", VA = "0x183611320", Slot = "8")] get { return null; } } /// Removes all objects from the . // Token: 0x0600301A RID: 12314 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600301A")] [Address(RVA = "0x3610F10", Offset = "0x360FF10", VA = "0x183610F10")] 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: 0x0600301B RID: 12315 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600301B")] [Address(RVA = "0x36111F0", Offset = "0x36101F0", VA = "0x1836111F0", 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: 0x0600301C RID: 12316 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600301C")] [Address(RVA = "0x3611110", Offset = "0x3610110", VA = "0x183611110")] public void Push(T item) { } // Token: 0x0600301D RID: 12317 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600301D")] [Address(RVA = "0x3611000", Offset = "0x3610000", VA = "0x183611000")] 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: 0x0600301E RID: 12318 RVA: 0x0001A4D8 File Offset: 0x000186D8 [Token(Token = "0x600301E")] [Address(RVA = "0x36117C0", Offset = "0x36107C0", VA = "0x1836117C0")] public bool TryPop(out T result) { return default(bool); } // Token: 0x0600301F RID: 12319 RVA: 0x0001A4F0 File Offset: 0x000186F0 [Token(Token = "0x600301F")] [Address(RVA = "0x36114D0", Offset = "0x36104D0", VA = "0x1836114D0")] private bool TryPopCore(out T result) { return default(bool); } // Token: 0x06003020 RID: 12320 RVA: 0x0001A508 File Offset: 0x00018708 [Token(Token = "0x6003020")] [Address(RVA = "0x3611540", Offset = "0x3610540", VA = "0x183611540")] private int TryPopCore(int count, out ConcurrentStack.Node poppedHead) { return 0; } // Token: 0x06003021 RID: 12321 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6003021")] [Address(RVA = "0x36113D0", Offset = "0x36103D0", VA = "0x1836113D0")] private List ToList() { return null; } // Token: 0x06003022 RID: 12322 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6003022")] [Address(RVA = "0x3611420", Offset = "0x3610420", VA = "0x183611420")] private List ToList(ConcurrentStack.Node curr) { return null; } /// Returns an enumerator that iterates through the . /// An enumerator for the . // Token: 0x06003023 RID: 12323 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6003023")] [Address(RVA = "0x3610FB0", Offset = "0x360FFB0", VA = "0x183610FB0", Slot = "4")] public IEnumerator GetEnumerator() { return null; } // Token: 0x06003024 RID: 12324 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6003024")] [Address(RVA = "0x3610F30", Offset = "0x360FF30", VA = "0x183610F30")] 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: 0x06003025 RID: 12325 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6003025")] [Address(RVA = "0x3611380", Offset = "0x3610380", VA = "0x183611380", Slot = "5")] IEnumerator IEnumerable.GetEnumerator() { return null; } // Token: 0x04001ADC RID: 6876 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001ADC")] private ConcurrentStack.Node _head; // Token: 0x02000602 RID: 1538 [Token(Token = "0x2000602")] [Serializable] private class Node { // Token: 0x06003026 RID: 12326 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6003026")] [Address(RVA = "0x36118B0", Offset = "0x36108B0", VA = "0x1836118B0")] internal Node(T value) { } // Token: 0x04001ADD RID: 6877 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001ADD")] internal readonly T _value; // Token: 0x04001ADE RID: 6878 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4001ADE")] internal ConcurrentStack.Node _next; } } }