4 references to ObjectCollection
System.Windows.Forms.Tests (4)
System\Windows\Forms\ListBox.ObjectCollectionTests.cs (4)
40var collection = new ListBox.ObjectCollection(owner, otherCollection); 52Assert.Throws<ArgumentNullException>("owner", () => new ListBox.ObjectCollection(null, new ListBox.ObjectCollection(owner))); 73Assert.Throws<ArgumentException>(() => new ListBox.ObjectCollection(owner, otherCollection)); 81Assert.Throws<ArgumentNullException>("value", () => new ListBox.ObjectCollection(owner, (ListBox.ObjectCollection)null));