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