System\Windows\Forms\ListBox.IntegerCollectionTests.cs (30)
52collection.AddRange(2, 1, 1, 3);
89collection.AddRange(2, 1, 1, 3);
115collection.AddRange(2, 1, 1, 3);
141collection.AddRange(2, 1, 1, 3);
183collection.AddRange(2, 1, 1, 3);
469collection.AddRange(2, 1, 1, 3);
476collection.AddRange(Array.Empty<int>());
497collection.AddRange(2, 1, 1, 3);
504collection.AddRange(Array.Empty<int>());
532collection.AddRange(2, 1, 1, 3);
542collection.AddRange(Array.Empty<int>());
573collection.AddRange(2, 1, 1, 3);
583collection.AddRange(Array.Empty<int>());
609otherCollection.AddRange(2, 1, 1, 3);
617collection.AddRange(Array.Empty<int>());
640otherCollection.AddRange(2, 1, 1, 3);
648collection.AddRange(Array.Empty<int>());
678otherCollection.AddRange(2, 1, 1, 3);
689collection.AddRange(Array.Empty<int>());
722otherCollection.AddRange(2, 1, 1, 3);
733collection.AddRange(Array.Empty<int>());
748Assert.Throws<ArgumentNullException>("items", () => collection.AddRange((int[])null));
1104collection.AddRange(2, 1, 1, 3);
1148collection.AddRange(2, 1, 1, 3);
1192collection.AddRange(2, 1, 1, 3);
1255collection.AddRange(2, 1, 1, 3);
1318collection.AddRange(2, 1, 1, 3);
1355collection.AddRange(2, 1, 1, 3);
1392collection.AddRange(2, 1, 1, 3);
1445collection.AddRange(2, 1, 1, 3);