48 references to new
System.Windows.Forms.Tests (48)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (3)
924ListViewItem listItem1 = new(listGroup1); 926ListViewItem listItem3 = new(listGroup2); 927ListViewItem listItem4 = new(listGroup2);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (37)
146items.Add(new ListViewItem(groups[0])); 147items.Add(new ListViewItem(groups[0])); 149items.Add(new ListViewItem(groups[1])); 150items.Add(new ListViewItem(groups[1])); 151items.Add(new ListViewItem(groups[1])); 215items.Add(new ListViewItem(groups[0])); 216items.Add(new ListViewItem(groups[0])); 217items.Add(new ListViewItem(groups[0])); 218items.Add(new ListViewItem(groups[1])); 219items.Add(new ListViewItem(groups[1])); 220items.Add(new ListViewItem(groups[1])); 379items.Add(new ListViewItem(groups[0])); 380items.Add(new ListViewItem(groups[0])); 382items.Add(new ListViewItem(groups[1])); 383items.Add(new ListViewItem(groups[1])); 384items.Add(new ListViewItem(groups[1])); 385items.Add(new ListViewItem(groups[1])); 386items.Add(new ListViewItem(groups[1])); 388ListViewItem itemWithoutListView1 = new(groups[1]); 389ListViewItem itemWithoutListView2 = new(groups[1]); 474items.Add(new ListViewItem(groups[0])); 475items.Add(new ListViewItem(groups[0])); 477items.Add(new ListViewItem(groups[1])); 478items.Add(new ListViewItem(groups[1])); 479items.Add(new ListViewItem(groups[1])); 480items.Add(new ListViewItem(groups[1])); 481items.Add(new ListViewItem(groups[1])); 510items.Add(new ListViewItem(groups[0])); 511items.Add(new ListViewItem(groups[0])); 513items.Add(new ListViewItem(groups[1])); 514items.Add(new ListViewItem(groups[1])); 515items.Add(new ListViewItem(groups[1])); 595items.Add(new ListViewItem(groups[0])); 597items.Add(new ListViewItem(groups[1])); 598items.Add(new ListViewItem(groups[1])); 1264ListViewItem listItem1 = new(listGroup1); 1265ListViewItem listItem2 = new(listGroup1);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
77ListViewItem listViewItem2 = new(listviewGroup);
System\Windows\Forms\ListViewItemConverterTests.cs (1)
75new ListViewItem(group),
System\Windows\Forms\ListViewItemTests.cs (1)
732ListViewItem item = new(group);
System\Windows\Forms\ListViewTests.cs (5)
4570ListViewItem item1 = new(group1) 4574ListViewItem item2 = new(group2) 4578ListViewItem item3 = new(group3) 46250 => new ListViewItem(group) { Selected = true }, 4626_ => new ListViewItem(group),