Implemented interface member:
method
IndexOf
System.Collections.IList.IndexOf(System.Object)
5 overrides of IndexOf
mscorlib (5)
system\collections\arraylist.cs (5)
943public override int IndexOf(Object value) { 1353public override int IndexOf(Object value) { 1753public override int IndexOf(Object value) { 2010public override int IndexOf(Object value) { 2352public override int IndexOf(Object value) {
112 references to IndexOf
mscorlib (11)
system\collections\arraylist.cs (4)
586int index = IndexOf(obj); 1355return _list.IndexOf(value); 1754return _list.IndexOf(value); 2011return _list.IndexOf(value);
system\collections\collectionbase.cs (2)
149int index = InnerList.IndexOf(value); 163return InnerList.IndexOf(value);
system\security\permissions\keycontainerpermission.cs (2)
259int index = m_list.IndexOf(accessEntry); 279return m_list.IndexOf(accessEntry);
system\security\policy\netcodegroup.cs (3)
555int i = m_schemesList.IndexOf(lowerCaseScheme); 559if (lowerCaseScheme == AbsentOriginScheme || (i = m_schemesList.IndexOf(AnyOtherOriginScheme)) == -1) 793int idx = that.m_schemesList.IndexOf(this.m_schemesList[i]);
PresentationFramework (13)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (6)
122originalIndexR = _rawList.IndexOf(originalItem); 297int indexV = _viewList.IndexOf(item); 301indexR = _rawList.IndexOf(item); 315indexR = _rawList.IndexOf(item); 424return _viewList.IndexOf(item); 555int index = _viewList.IndexOf(oldCurrentItem);
src\Framework\System\Windows\Data\CompositeCollection.cs (2)
183return InternalList.IndexOf(indexItem); 222int index = InternalList.IndexOf(removeItem);
src\Framework\System\Windows\Data\ListCollectionView.cs (2)
2432tempIndex = ShadowCollection.IndexOf(e.OldItems[0]); 2440tempIndex = ShadowCollection.IndexOf(e.NewItems[0]);
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
664int index = adornerInfos.IndexOf(adornerInfo);
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
1193if (dirtyPages.IndexOf(count) < 0) 1209if (pageNo >=0 && pageNo < PageCount && dirtyPages.IndexOf(pageNo) < 0)
System (8)
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
192return data.IndexOf((CodeNamespaceImport)value);
compmod\system\collections\specialized\stringcollection.cs (1)
116return data.IndexOf(value);
compmod\system\componentmodel\design\DesignerOptionService.cs (2)
293return _children.IndexOf(value); 412return _children.IndexOf(value);
compmod\system\diagnostics\TraceListeners.cs (1)
237return list.IndexOf(value);
net\System\Net\_Connection.cs (1)
2816int idx = m_WriteList.IndexOf(request);
services\monitoring\system\diagnosticts\ProcessModuleCollection.cs (1)
40return InnerList.IndexOf(module);
services\monitoring\system\diagnosticts\ProcessThreadCollection.cs (1)
57return InnerList.IndexOf(thread);
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlBulkCopyColumnMappingCollection.cs (2)
100return (-1 != InnerList.IndexOf(value)); 114return InnerList.IndexOf(value);
System.Drawing (3)
commonui\System\Drawing\Design\CategoryNameCollection.cs (1)
74return InnerList.IndexOf(value);
commonui\System\Drawing\Design\ToolboxItemCollection.cs (1)
75return InnerList.IndexOf(value);
misc\ClientUtils.cs (1)
419public int IndexOf(object value) { return InnerList.IndexOf(CreateWeakRefObject(value)); }
System.Security (4)
system\security\cryptography\xml\c14nutil.cs (1)
614return m_nodeArray.IndexOf(value);
system\security\cryptography\xml\encryptedkey.cs (1)
253return m_references.IndexOf(value);
system\security\cryptography\xml\encryptedtype.cs (2)
325return m_props.IndexOf(value); 329return m_props.IndexOf(value);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryIntervalOp.cs (1)
208return base.IndexOf(interval);
System.Web (15)
Management\WebEvents.cs (1)
2496return InnerList.IndexOf(value);
SiteMapNodeCollection.cs (1)
180return List.IndexOf(value);
UI\StateManagedCollection.cs (1)
638return _collectionItems.IndexOf(value);
UI\WebControls\ColumnCollection.cs (1)
168return columns.IndexOf(column);
UI\WebControls\ListItemCollection.cs (1)
209return listItems.IndexOf(item);
UI\WebParts\CatalogPartCollection.cs (1)
58return InnerList.IndexOf(catalogPart);
UI\WebParts\ConnectionInterfaceCollection.cs (1)
56return InnerList.IndexOf(value);
UI\WebParts\ConsumerConnectionPointCollection.cs (1)
68return InnerList.IndexOf(connectionPoint);
UI\WebParts\EditorPartCollection.cs (1)
45return InnerList.IndexOf(editorPart);
UI\WebParts\ProviderConnectionPointCollection.cs (1)
69return InnerList.IndexOf(connectionPoint);
UI\WebParts\TransformerTypeCollection.cs (1)
66return InnerList.IndexOf(value);
UI\WebParts\WebPartCollection.cs (1)
47return InnerList.IndexOf(value);
UI\WebParts\WebPartDescriptionCollection.cs (1)
53return InnerList.IndexOf(value);
UI\WebParts\WebPartVerbCollection.cs (1)
65return InnerList.IndexOf(value);
UI\WebParts\WebPartZoneCollection.cs (1)
45return InnerList.IndexOf(value);
System.Web.DataVisualization (4)
Common\General\Chart.cs (3)
1053 point.XValue = axisLabels.IndexOf(point.AxisLabel) + 1; 1189 int seriesIndex = groupByValueList.IndexOf(groupObj); 1340 sortedSeriesList.Add(seriesList[oldList.IndexOf(obj)]);
Common\General\ChartArea3D.cs (1)
1708 return this._stackGroupNames.IndexOf(stackGroupName);
System.Web.Mobile (2)
UI\MobileControls\MobileListItemCollection.cs (1)
146return Items.IndexOf(item);
UI\MobileControls\ObjectListItemCollection.cs (1)
104return Items.IndexOf(item);
System.Web.Services (1)
System\Web\Services\WebMethodAttribute.cs (1)
315list[list.IndexOf(method)] = methods[i];
System.Windows.Forms (36)
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (1)
161return data.IndexOf(value);
winforms\Managed\System\WinForms\ComboBox.cs (2)
4297return InnerList.IndexOf(value); 4384int index = InnerList.IndexOf(value);
winforms\Managed\System\WinForms\Control.cs (1)
14968return InnerList.IndexOf(control);
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (2)
59return items.IndexOf(value); 374int index = items.IndexOf(column);
winforms\Managed\System\WinForms\DataGridTableCollection.cs (2)
50return items.IndexOf(value); 258int index = items.IndexOf(table);
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (3)
57return this.items.IndexOf(value); 374int index = this.items.IndexOf(dataGridViewCell); 381return this.items.IndexOf(dataGridViewCell);
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (3)
89return this.items.IndexOf(value); 463return this.items.IndexOf(dataGridViewColumn) != -1; 956return this.items.IndexOf(dataGridViewColumn);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2873index = this.InnerArray.IndexOf(item); 3057return this.InnerArray.IndexOf(value); 3103int index = this.InnerArray.IndexOf(value);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (3)
76return this.items.IndexOf(value); 991return this.items.IndexOf(dataGridViewRow) != -1; 1464return this.items.IndexOf(dataGridViewRow);
winforms\Managed\System\WinForms\DataGridViewSelectedCellCollection.cs (2)
55return this.items.IndexOf(value); 219return this.items.IndexOf(dataGridViewCell) != -1;
winforms\Managed\System\WinForms\DataGridViewSelectedColumnCollection.cs (2)
52return this.items.IndexOf(value); 201return this.items.IndexOf(dataGridViewColumn) != -1;
winforms\Managed\System\WinForms\DataGridViewSelectedRowCollection.cs (2)
55return this.items.IndexOf(value); 202return this.items.IndexOf(dataGridViewRow) != -1;
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
667int index = IndexOf(item);
winforms\Managed\System\WinForms\InputLanguageCollection.cs (1)
64return InnerList.IndexOf(value);
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (1)
125int IList.IndexOf(object value) { return InnerList.IndexOf(value); }
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1716focusIndex = links.IndexOf(FocusLink); 2232return owner.links.IndexOf(link);
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
583return this.List.IndexOf(value);
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
130return Items.IndexOf(item);
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (1)
110int IList.IndexOf(object style) { return _innerList.IndexOf(style); }
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
382return InnerList.IndexOf(value);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1463return InnerList.IndexOf(value);
System.Windows.Forms.DataVisualization (4)
Common\General\Chart.cs (3)
1053 point.XValue = axisLabels.IndexOf(point.AxisLabel) + 1; 1189 int seriesIndex = groupByValueList.IndexOf(groupObj); 1340 sortedSeriesList.Add(seriesList[oldList.IndexOf(obj)]);
Common\General\ChartArea3D.cs (1)
1708 return this._stackGroupNames.IndexOf(stackGroupName);
System.Workflow.Activities (2)
Common\TypeSystemHelpers.cs (2)
130typeName = DotNetKeywords[CSKeywords.IndexOf(typeName)]; 132typeName = DotNetKeywords[VBKeywords.IndexOf(typeName)];
System.Workflow.ComponentModel (3)
AuthoringOM\Design\FreeFormDesigner.cs (1)
630int index = (activityDesigner != null) ? activityDesigners.IndexOf(activityDesigner) : -1;
Shared\TypeSystemHelpers.cs (2)
129typeName = DotNetKeywords[CSKeywords.IndexOf(typeName)]; 131typeName = DotNetKeywords[VBKeywords.IndexOf(typeName)];
WindowsBase (3)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (3)
1064int blockPosition = _blockList.IndexOf(Zip64EndOfCentralDirectoryBlock); 1120int blockPosition = _blockList.IndexOf(Zip64EndOfCentralDirectoryLocatorBlock); 1146int blockPosition = _blockList.IndexOf(EndOfCentralDirectoryBlock);