26 references to _list
System.Windows.Forms.Primitives (26)
System\Windows\Forms\NonNullCollection.cs (26)
24get => _list[index]; 27_list[index] = value ?? ThrowArgumentNull(nameof(value)); 32public int Count => _list.Count; 34public bool IsReadOnly => ((ICollection<T>)_list).IsReadOnly; 38_list.Add(item ?? ThrowArgumentNull(nameof(item))); 42public void Clear() => _list.Clear(); 44public bool Contains(T item) => _list.Contains(item); 46public void CopyTo(T[] array, int arrayIndex) => _list.CopyTo(array, arrayIndex); 48public IEnumerator<T> GetEnumerator() => _list.GetEnumerator(); 50public int IndexOf(T item) => _list.IndexOf(item); 54_list.Insert(index, item ?? ThrowArgumentNull(nameof(item))); 58public bool Remove(T item) => _list.Remove(item); 60public void RemoveAt(int index) => _list.RemoveAt(index); 62IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_list).GetEnumerator(); 76_list.AddRange(items); 87int index = ((IList)_list).Add(value ?? ThrowArgumentNull(nameof(value))); 92bool IList.Contains(object? value) => ((IList)_list).Contains(value); 94int IList.IndexOf(object? value) => ((IList)_list).IndexOf(value); 98((IList)_list).Insert(index, value ?? ThrowArgumentNull(nameof(value))); 102void IList.Remove(object? value) => ((IList)_list).Remove(value); 106get => ((IList)_list)[index]; 109((IList)_list)[index] = value ?? ThrowArgumentNull(nameof(value)); 114void ICollection.CopyTo(Array array, int index) => ((IList)_list).CopyTo(array, index); 118bool IList.IsFixedSize => ((IList)_list).IsFixedSize; 120object ICollection.SyncRoot => ((ICollection)_list).SyncRoot; 122bool ICollection.IsSynchronized => ((ICollection)_list).IsSynchronized;