8 references to FindStringExact
System.Windows.Forms (4)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
1141
int index =
FindStringExact
(value, -1, false);
1145
index =
FindStringExact
(value, -1, true);
1903
return
FindStringExact
(s, startIndex: -1, ignoreCase: true);
1912
return
FindStringExact
(s, startIndex, ignoreCase: true);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ComboBoxTests.cs (4)
1705
Assert.Equal(expected, control.
FindStringExact
(s, startIndex, ignoreCase));
1717
Assert.Throws<ArgumentOutOfRangeException>("startIndex", () => control.
FindStringExact
("s", startIndex, ignoreCase: true));
1718
Assert.Throws<ArgumentOutOfRangeException>("startIndex", () => control.
FindStringExact
("s", startIndex, ignoreCase: false));
2568
int actual = comboBox.
FindStringExact
(value, index, isExact);