3 references to new
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListViewItemTests.cs (3)
242ListViewItem item = new(subItems, imageIndex, group); 834Assert.Throws<ArgumentNullException>("subItems", () => new ListViewItem((ListViewItem.ListViewSubItem[])null, 0, new ListViewGroup())); 844Assert.Throws<ArgumentNullException>("subItems", () => new ListViewItem(subItems, 1, new ListViewGroup()));