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