10 references to AddRange
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
992
_children.
AddRange
(childProperties);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
134
ChildCollection.
AddRange
(mergedProperties);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
71
ChildCollection.
AddRange
(mergedProperties);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3576
_allGridEntries.
AddRange
(entries);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
277
ChildCollection.
AddRange
(categoryGridEntries);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
20
public NonNullCollection(IEnumerable<T> items) =>
AddRange
(items);
System.Windows.Forms.Primitives.Tests (4)
System\Windows\Forms\NonNullCollectionTests.cs (4)
128
Assert.Throws<ArgumentNullException>("items", () => collection.
AddRange
(null!));
135
Assert.Throws<ArgumentNullException>("items", () => collection.
AddRange
(new object[] { null! }));
143
collection.
AddRange
(new object[] { item });
147
collection.
AddRange
(new object[] { new(), new(), new() });