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