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