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