11 references to IndexOf
System.Windows.Forms (11)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
73return InnerArray.IndexOf(identifier, stateMask: 0);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (2)
103return InnerArray.IndexOf(item, s_anyMask); 108return InnerArray.IndexOf(item, s_anyMask);
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
28protected int CurrentIndex => _owningListBox.Items.InnerArray.IndexOf(_itemEntry);
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (3)
302return InnerArray.IndexOf(value); 311return InnerArray.IndexOf(value); 373int index = InnerArray.IndexOf(value);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (2)
91return InnerArray.IndexOf(InnerArray.GetItem(selectedIndex), SelectedObjectCollection.SelectedObjectMask); 142return InnerArray.IndexOf(identifier);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
149return selectedObject is null ? -1 : InnerArray.IndexOf(selectedObject, SelectedObjectMask);
System\Windows\Forms\Internal\ItemArray.cs (1)
237int index = IndexOf(item);