4 references to FindString
System.Windows.Forms (2)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1885public int FindString(string? s) => FindString(s, startIndex: -1);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
313public int FindString(string? s, int startIndex) { return ComboBox.FindString(s, startIndex); }
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComboBoxTests.cs (2)
1579Assert.Equal(expected, control.FindString(s, startIndex)); 1590Assert.Throws<ArgumentOutOfRangeException>("startIndex", () => control.FindString("s", startIndex));