using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Defines size, enumerators, and synchronization methods for all nongeneric collections. // Token: 0x020005B5 RID: 1461 [Token(Token = "0x20005B5")] [ComVisible(true)] public interface ICollection : IEnumerable { /// 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- /// 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: 0x06002C63 RID: 11363 [Token(Token = "0x6002C63")] [Address(Slot = "0")] void CopyTo(Array array, int index); /// Gets the number of elements contained in the . /// The number of elements contained in the . // Token: 0x170006A8 RID: 1704 // (get) Token: 0x06002C64 RID: 11364 [Token(Token = "0x170006A8")] int Count { [Token(Token = "0x6002C64")] [Address(Slot = "1")] get; } /// Gets an object that can be used to synchronize access to the . /// An object that can be used to synchronize access to the . // Token: 0x170006A9 RID: 1705 // (get) Token: 0x06002C65 RID: 11365 [Token(Token = "0x170006A9")] object SyncRoot { [Token(Token = "0x6002C65")] [Address(Slot = "2")] get; } /// Gets a value indicating whether access to the is synchronized (thread safe). /// /// if access to the is synchronized (thread safe); otherwise, . // Token: 0x170006AA RID: 1706 // (get) Token: 0x06002C66 RID: 11366 [Token(Token = "0x170006AA")] bool IsSynchronized { [Token(Token = "0x6002C66")] [Address(Slot = "3")] get; } } }