using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections { /// Represents a non-generic collection of objects that can be individually accessed by index. // Token: 0x020005DC RID: 1500 [Token(Token = "0x20005DC")] [ComVisible(true)] public interface IList : ICollection, IEnumerable { /// Gets or sets the element at the specified index. /// The zero-based index of the element to get or set. /// The element at the specified index. /// /// is not a valid index in the . /// The property is set and the is read-only. // Token: 0x1700072C RID: 1836 [Token(Token = "0x1700072C")] object this[int index] { [Token(Token = "0x6002E93")] [Address(Slot = "0")] get; [Token(Token = "0x6002E94")] [Address(Slot = "1")] set; } /// Adds an item to the . /// The object to add to the . /// The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection. /// The is read-only. /// -or- /// The has a fixed size. // Token: 0x06002E95 RID: 11925 [Token(Token = "0x6002E95")] [Address(Slot = "2")] int Add(object value); /// Determines whether the contains a specific value. /// The object to locate in the . /// /// if the is found in the ; otherwise, . // Token: 0x06002E96 RID: 11926 [Token(Token = "0x6002E96")] [Address(Slot = "3")] bool Contains(object value); /// Removes all items from the . /// The is read-only. // Token: 0x06002E97 RID: 11927 [Token(Token = "0x6002E97")] [Address(Slot = "4")] void Clear(); /// Gets a value indicating whether the is read-only. /// /// if the is read-only; otherwise, . // Token: 0x1700072D RID: 1837 // (get) Token: 0x06002E98 RID: 11928 [Token(Token = "0x1700072D")] bool IsReadOnly { [Token(Token = "0x6002E98")] [Address(Slot = "5")] get; } /// Gets a value indicating whether the has a fixed size. /// /// if the has a fixed size; otherwise, . // Token: 0x1700072E RID: 1838 // (get) Token: 0x06002E99 RID: 11929 [Token(Token = "0x1700072E")] bool IsFixedSize { [Token(Token = "0x6002E99")] [Address(Slot = "6")] get; } /// Determines the index of a specific item in the . /// The object to locate in the . /// The index of if found in the list; otherwise, -1. // Token: 0x06002E9A RID: 11930 [Token(Token = "0x6002E9A")] [Address(Slot = "7")] int IndexOf(object value); /// Inserts an item to the at the specified index. /// The zero-based index at which should be inserted. /// The object to insert into the . /// /// is not a valid index in the . /// The is read-only. /// -or- /// The has a fixed size. /// /// is null reference in the . // Token: 0x06002E9B RID: 11931 [Token(Token = "0x6002E9B")] [Address(Slot = "8")] void Insert(int index, object value); /// Removes the first occurrence of a specific object from the . /// The object to remove from the . /// The is read-only. /// -or- /// The has a fixed size. // Token: 0x06002E9C RID: 11932 [Token(Token = "0x6002E9C")] [Address(Slot = "9")] void Remove(object value); /// Removes the item at the specified index. /// The zero-based index of the item to remove. /// /// is not a valid index in the . /// The is read-only. /// -or- /// The has a fixed size. // Token: 0x06002E9D RID: 11933 [Token(Token = "0x6002E9D")] [Address(Slot = "10")] void RemoveAt(int index); } }