4 references to TestCollection
System.Windows.Forms.Primitives.Tests (4)
System\Windows\Forms\NonNullCollectionTests.cs (4)
13Assert.Throws<ArgumentNullException>("items", () => new TestCollection(null!)); 19Assert.Throws<ArgumentNullException>("items", () => new TestCollection(new object[] { null! })); 66TestCollection collection = new(new object[] { new() }); 83TestCollection collection = new(new object[] { new() });