using System; using System.Runtime.InteropServices; namespace System.Collections { /// Represents a non-generic collection of objects that can be individually accessed by index. /// 1 // Token: 0x0200002E RID: 46 [ComVisible(true)] public interface IList : IEnumerable, ICollection { /// Gets a value indicating whether the has a fixed size. /// true if the has a fixed size; otherwise, false. /// 2 // Token: 0x17000022 RID: 34 // (get) Token: 0x060004A2 RID: 1186 bool IsFixedSize { get; } /// Gets a value indicating whether the is read-only. /// true if the is read-only; otherwise, false. /// 2 // Token: 0x17000023 RID: 35 // (get) Token: 0x060004A3 RID: 1187 bool IsReadOnly { get; } /// Gets or sets the element at the specified index. /// The element at the specified index. /// The zero-based index of the element to get or set. /// /// is not a valid index in the . /// The property is set and the is read-only. /// 2 // Token: 0x17000024 RID: 36 object this[int index] { get; set; } /// Adds an item to the . /// The position into which the new element was inserted. /// The to add to the . /// The is read-only.-or- The has a fixed size. /// 2 // Token: 0x060004A6 RID: 1190 int Add(object value); /// Removes all items from the . /// The is read-only. /// 2 // Token: 0x060004A7 RID: 1191 void Clear(); /// Determines whether the contains a specific value. /// true if the is found in the ; otherwise, false. /// The to locate in the . /// 2 // Token: 0x060004A8 RID: 1192 bool Contains(object value); /// Determines the index of a specific item in the . /// The index of if found in the list; otherwise, -1. /// The to locate in the . /// 2 // Token: 0x060004A9 RID: 1193 int IndexOf(object value); /// Inserts an item to the at the specified index. /// The zero-based index at which should be inserted. /// The 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 . /// 2 // Token: 0x060004AA RID: 1194 void Insert(int index, object value); /// Removes the first occurrence of a specific object from the . /// The to remove from the . /// The is read-only.-or- The has a fixed size. /// 2 // Token: 0x060004AB RID: 1195 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. /// 2 // Token: 0x060004AC RID: 1196 void RemoveAt(int index); } }