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: 0x020005BD RID: 1469 [Token(Token = "0x20005BD")] [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: 0x170006B4 RID: 1716 [Token(Token = "0x170006B4")] object this[int index] { [Token(Token = "0x6002C7D")] [Address(Slot = "0")] get; [Token(Token = "0x6002C7E")] [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: 0x06002C7F RID: 11391 [Token(Token = "0x6002C7F")] [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: 0x06002C80 RID: 11392 [Token(Token = "0x6002C80")] [Address(Slot = "3")] bool Contains(object value); /// Removes all items from the . /// The is read-only. // Token: 0x06002C81 RID: 11393 [Token(Token = "0x6002C81")] [Address(Slot = "4")] void Clear(); /// Gets a value indicating whether the is read-only. /// /// if the is read-only; otherwise, . // Token: 0x170006B5 RID: 1717 // (get) Token: 0x06002C82 RID: 11394 [Token(Token = "0x170006B5")] bool IsReadOnly { [Token(Token = "0x6002C82")] [Address(Slot = "5")] get; } /// Gets a value indicating whether the has a fixed size. /// /// if the has a fixed size; otherwise, . // Token: 0x170006B6 RID: 1718 // (get) Token: 0x06002C83 RID: 11395 [Token(Token = "0x170006B6")] bool IsFixedSize { [Token(Token = "0x6002C83")] [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: 0x06002C84 RID: 11396 [Token(Token = "0x6002C84")] [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: 0x06002C85 RID: 11397 [Token(Token = "0x6002C85")] [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: 0x06002C86 RID: 11398 [Token(Token = "0x6002C86")] [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: 0x06002C87 RID: 11399 [Token(Token = "0x6002C87")] [Address(Slot = "10")] void RemoveAt(int index); } }