11 references to AddRange
System.Windows.Forms.Tests (10)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
796
listView.Groups.
AddRange
((ListViewGroup[])[group1, group2, group3]);
System\Windows\Forms\ListViewGroupCollectionTests.cs (5)
543
collection.
AddRange
(items);
578
Assert.Throws<ArgumentNullException>("groups", () => collection.
AddRange
((ListViewGroup[])null));
588
Assert.Throws<ArgumentNullException>("group", () => collection.
AddRange
((ListViewGroup[])[group, null]));
1096
Assert.Throws<InvalidOperationException>(() => listView.Groups.
AddRange
((ListViewGroup[])[new(), new()]));
1108
sourceGroup.
AddRange
((ListViewGroup[])[new(), new()]);
System\Windows\Forms\ListViewTests.cs (4)
5652
listView.Groups.
AddRange
(groups);
5690
listView.Groups.
AddRange
(groups);
5727
listView.Groups.
AddRange
(groups);
5763
listView.Groups.
AddRange
(groups);
WinFormsControlsTest (1)
ListViewTest.Designer.cs (1)
70
this.listView1.Groups.
AddRange
(new System.Windows.Forms.ListViewGroup[] {