8 references to IndexOf
PresentationUI (1)
MS\Internal\Documents\CredentialManagerDialog.cs (1)
67_credListBox.SelectedIndex = _credListBox.Items.IndexOf(defaultAccount);
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
952int index = _itemsCollection.IndexOf(value);
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (2)
263return IndexOf(value) != -1; 305int IList.IndexOf(object? value) => IndexOf(value!);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (2)
262int index = items.IndexOf(value); 278int index = items.IndexOf(value);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
512int currentIndex = _listBoxItems.Items.IndexOf(currentItem); 523int currentIndex = _listBoxItems.Items.IndexOf(currentItem);