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