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