using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Defines size, enumerators, and synchronization methods for all nongeneric collections. // Token: 0x020005D4 RID: 1492 [Token(Token = "0x20005D4")] [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: 0x06002E79 RID: 11897 [Token(Token = "0x6002E79")] [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: 0x17000720 RID: 1824 // (get) Token: 0x06002E7A RID: 11898 [Token(Token = "0x17000720")] int Count { [Token(Token = "0x6002E7A")] [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: 0x17000721 RID: 1825 // (get) Token: 0x06002E7B RID: 11899 [Token(Token = "0x17000721")] object SyncRoot { [Token(Token = "0x6002E7B")] [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: 0x17000722 RID: 1826 // (get) Token: 0x06002E7C RID: 11900 [Token(Token = "0x17000722")] bool IsSynchronized { [Token(Token = "0x6002E7C")] [Address(Slot = "3")] get; } } }