58 references to AddRange
System.Windows.Forms.Tests (58)
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (14)
162
pages.
AddRange
([new(), new(), new()]);
178
pages.
AddRange
([new(), new()]);
215
pages.
AddRange
([new(), new()]);
236
pages.
AddRange
([new(), new(), new()]);
261
pages.
AddRange
([new(), new()]);
289
pages.
AddRange
([new(), new()]);
307
pages.
AddRange
([new(), new()]);
325
pages.
AddRange
([new(), new()]);
343
pages.
AddRange
([new(), new()]);
388
pages.
AddRange
([new(), new(), new()]);
407
pages.
AddRange
([new(), new(), new()]);
427
pages.
AddRange
([new(), new(), new()]);
455
pages.
AddRange
([new(), new(), new()]);
478
pages.
AddRange
([new(), new(), new()]);
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (38)
127
pages.
AddRange
([new() { Enabled = tabPageEnabled }, new() { Enabled = tabPageEnabled }]);
173
pages.
AddRange
([new(), new()]);
214
pages.
AddRange
([new(), new()]);
235
pages.
AddRange
([new(), new()]);
346
pages.
AddRange
([new(), new()]);
366
pages.
AddRange
([new(), new()]);
385
pages.
AddRange
([new(), new()]);
405
pages.
AddRange
([new(), new()]);
425
pages.
AddRange
([new(), new()]);
444
pages.
AddRange
([new(), new()]);
464
pages.
AddRange
([new(), new()]);
484
pages.
AddRange
([new(), new()]);
503
pages.
AddRange
([new(), new()]);
525
pages.
AddRange
([new(), new()]);
551
pages.
AddRange
([new(), new()]);
571
pages.
AddRange
([new(), new()]);
594
pages.
AddRange
([new(), new()]);
614
pages.
AddRange
([new(), new() { Enabled = tabPageEnabled }]);
637
pages.
AddRange
([new(), new()]);
659
pages.
AddRange
([new(), new()]);
681
pages.
AddRange
([new(), new() { Enabled = tabPageEnabled }]);
703
pages.
AddRange
([new(), new()]);
726
pages.
AddRange
([new(), new()]);
746
pages.
AddRange
([new(), new()]);
768
pages.
AddRange
([new(), new()]);
791
pages.
AddRange
([new(), new()]);
811
pages.
AddRange
([new(), new()]);
833
pages.
AddRange
([new(), new()]);
853
pages.
AddRange
([new(), new()]);
873
pages.
AddRange
([new(), new() { Enabled = tabPageEnabled }]);
896
pages.
AddRange
([new(), new()]);
916
pages.
AddRange
([new(), new()]);
938
pages.
AddRange
([new() { Enabled = tabPageEnabled }, new()]);
962
pages.
AddRange
([new(), new() { Enabled = tabPageEnabled }]);
985
pages.
AddRange
([new(), new()]);
1005
pages.
AddRange
([new(), new()]);
1029
pages.
AddRange
([new(), new() { Enabled = tabPageEnabled }]);
1058
pages.
AddRange
([new(), new()]);
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (2)
244
pages.
AddRange
([new(), new(), new()]);
266
pages.
AddRange
([new(), new(), new()]);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (4)
1113
collection.
AddRange
([child1, child2, child3]);
1125
collection.
AddRange
([child1, child2, child3]);
1138
collection.
AddRange
(Array.Empty<TabPage>());
1161
Assert.Throws<ArgumentNullException>("pages", () => collection.
AddRange
(null));