Implemented interface member:
method
IndexOf
System.Collections.IList.IndexOf(System.Object)
5 overrides of IndexOf
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (5)
853public override int IndexOf(object? value) 1308public override int IndexOf(object? value) 1747public override int IndexOf(object? value) 2002public override int IndexOf(object? value) 2353public override int IndexOf(object? value)
34 references to IndexOf
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
218return _data.IndexOf((CodeNamespaceImport)value);
PresentationFramework (14)
MS\Internal\Controls\InnerItemCollectionView.cs (6)
118originalIndexR = _rawList.IndexOf(originalItem); 293int indexV = _viewList.IndexOf(item); 297indexR = _rawList.IndexOf(item); 311indexR = _rawList.IndexOf(item); 420return _viewList.IndexOf(item); 550int index = _viewList.IndexOf(oldCurrentItem);
System\Windows\Data\CompositeCollection.cs (3)
166return InternalList.IndexOf(indexItem); 205int index = InternalList.IndexOf(removeItem); 574else if (collections.IndexOf(cc.Collection) > -1)
System\Windows\Data\ListCollectionView.cs (2)
2396tempIndex = ShadowCollection.IndexOf(e.OldItems[0]); 2404tempIndex = ShadowCollection.IndexOf(e.NewItems[0]);
System\Windows\Documents\AdornerLayer.cs (1)
647int index = adornerInfos.IndexOf(adornerInfo);
System\Windows\Documents\FixedDocument.cs (2)
1145if (dirtyPages.IndexOf(count) < 0) 1161if (pageNo >=0 && pageNo < PageCount && dirtyPages.IndexOf(pageNo) < 0)
System.CodeDom (1)
System\CodeDom\CodeNamespaceImportCollection.cs (1)
92int IList.IndexOf(object value) => _data.IndexOf((CodeNamespaceImport)value);
System.Collections.NonGeneric (2)
System\Collections\CollectionBase.cs (2)
169int index = InnerList.IndexOf(value); 186return InnerList.IndexOf(value);
System.Collections.Specialized (1)
System\Collections\Specialized\StringCollection.cs (1)
122return data.IndexOf(value);
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (2)
283return _children.IndexOf(value); 378return _children.IndexOf(value);
System.Diagnostics.Process (2)
System\Diagnostics\ProcessModuleCollection.cs (1)
35public int IndexOf(ProcessModule module) => InnerList.IndexOf(module);
System\Diagnostics\ProcessThreadCollection.cs (1)
57return InnerList.IndexOf(thread);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (4)
506int index = IndexOf(obj); 1312return _list.IndexOf(value); 1749return _list.IndexOf(value); 2004return _list.IndexOf(value);
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (1)
53return _nodeArray.IndexOf(value);
System\Security\Cryptography\Xml\EncryptionPropertyCollection.cs (2)
66return _props.IndexOf(value); 71return _props.IndexOf(value);
System\Security\Cryptography\Xml\ReferenceList.cs (1)
51return _references.IndexOf(value);
System.Windows.Forms (2)
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (1)
69int index = IndexOf(item);
System\Windows\Forms\Input\InputLanguageCollection.cs (1)
46public int IndexOf(InputLanguage? value) => InnerList.IndexOf(value);
System.Windows.Forms.Design (1)
System\Drawing\Design\ToolboxItemCollection.cs (1)
53public int IndexOf(ToolboxItem value) => InnerList.IndexOf(value);