7 references to ThrowArgumentNull
System.Windows.Forms.Primitives (7)
System\Windows\Forms\NonNullCollection.cs (7)
27
_list[index] = value ??
ThrowArgumentNull
(nameof(value));
38
_list.Add(item ??
ThrowArgumentNull
(nameof(item)));
54
_list.Insert(index, item ??
ThrowArgumentNull
(nameof(item)));
73
ThrowArgumentNull
(nameof(items));
87
int index = ((IList)_list).Add(value ??
ThrowArgumentNull
(nameof(value)));
98
((IList)_list).Insert(index, value ??
ThrowArgumentNull
(nameof(value)));
109
((IList)_list)[index] = value ??
ThrowArgumentNull
(nameof(value));