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