9 references to IndexOfKey
System.Windows.Forms (3)
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (3)
60int index = IndexOfKey(key); 156return IsValidIndex(IndexOfKey(key)); 341int index = IndexOfKey(key);
System.Windows.Forms.Tests (6)
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (6)
1942Assert.Equal(expected, collection.IndexOfKey(key)); 1945Assert.Equal(expected, collection.IndexOfKey(key)); 1946Assert.Equal(-1, collection.IndexOfKey("NoSuchKey")); 1956Assert.Equal(-1, collection.IndexOfKey(key)); 1959Assert.Equal(-1, collection.IndexOfKey(key)); 1960Assert.Equal(-1, collection.IndexOfKey("NoSuchKey"));