14 references to new
System.Windows.Forms.Tests (14)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (1)
1393ListViewItem listItem2 = new("Group item 2", listViewGroup);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (9)
328listView.Items.Add(new ListViewItem("a", group)); 666ListViewItem listViewItem = new("Test item", listViewGroup); 713listView.Items.Add(new ListViewItem("Item1", lvgroup1)); 722listView.Items.Add(new ListViewItem("Item2", lvgroup2)); 747listView.Items.Add(new ListViewItem("Group Item 1", listViewGroup)); 748listView.Items.Add(new ListViewItem("Group Item 2", listViewGroup)); 797ListViewItem item1 = new("Item 1", group1); 798ListViewItem item2 = new("Item 2", group2); 799ListViewItem item3 = new("Item 2", group3);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (2)
1351listView.Items.Add(new ListViewItem("Item 2", group: listView.Groups[0])); 1409listView.Items.Add(new ListViewItem("Item 2", group: listView.Groups[0]));
System\Windows\Forms\ListViewItemConverterTests.cs (1)
87new ListViewItem("text", group),
System\Windows\Forms\ListViewItemTests.cs (1)
619ListViewItem item = new(text, group);