6 references to Contains
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
148return Contains(tabPage);
System.Windows.Forms.Tests (5)
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (5)
1553Assert.True(collection.Contains(child1)); 1554Assert.True(collection.Contains(child2)); 1555Assert.False(collection.Contains(new TabPage())); 1563Assert.False(collection.Contains(new TabPage())); 1571Assert.Throws<ArgumentNullException>("page", () => collection.Contains(null));