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