7 references to IndexOfKey
System.Windows.Forms (3)
System\Windows\Forms\Control.ControlCollection.cs (3)
34return IsValidIndex(IndexOfKey(key)); 330int index = IndexOfKey(key); 368int index = IndexOfKey(key);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.ControlCollection.cs (4)
1427Assert.Equal(-1, collection.IndexOfKey("NoSuchKey")); 1789Assert.Equal(expected, collection.IndexOfKey(key)); 1792Assert.Equal(expected, collection.IndexOfKey(key)); 1793Assert.Equal(-1, collection.IndexOfKey("NoSuchKey"));