Implemented interface member:
method
IndexOf
System.Collections.Generic.IList<T>.IndexOf(T)
127 references to IndexOf
mscorlib (5)
system\collections\generic\list.cs (3)
621
return
IndexOf
((T)item);
824
int index =
IndexOf
(item);
1122
return _list.
IndexOf
(item);
system\resources\resourcewriter.cs (1)
585
int typeIndex = types.
IndexOf
(typeName);
system\threading\Tasks\Task.cs (1)
4850
int index = continuationsLocalListRef.
IndexOf
(continuationObject);
PresentationCore (25)
Core\CSharp\System\Windows\FreezableCollection.cs (1)
219
return _collection.
IndexOf
(value);
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
339
return ((_innerCBList != null) ? _innerCBList.
IndexOf
(value) : -1);
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (1)
260
return (_innerBindingList != null) ? _innerBindingList.
IndexOf
(value) : -1;
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (1)
234
return (_innerGestureList != null) ? _innerGestureList.
IndexOf
(value) : -1;
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
PresentationFramework (20)
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
228
int realizedPeerIndex = itemsControlAP.RecentlyRealizedPeers.
IndexOf
(peer);
src\Framework\System\Windows\Controls\AlternationConverter.cs (1)
58
return _values.
IndexOf
(o);
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (2)
87
return _uriList.
IndexOf
(item);
234
return _uriList.
IndexOf
((Uri)value);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
692
int removedDisplayIndex = DisplayIndexMap.
IndexOf
(columnIndex);
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (4)
136
if (This.FixedSOMPage.MarkupOrder.
IndexOf
(otherObjFirstNode) - This.FixedSOMPage.MarkupOrder.
IndexOf
(thisObjLastNode) == 1)
140
else if (This.FixedSOMPage.MarkupOrder.
IndexOf
(otherObjLastNode) - This.FixedSOMPage.MarkupOrder.
IndexOf
(thisObjFirstNode) == 1)
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
86
result = markupOrder.
IndexOf
(this.FixedNode) - markupOrder.
IndexOf
(otherRun.FixedNode);
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
369
_context.CurrentKey = _context.KeyList.
IndexOf
(record);
412
_context.CurrentKey = _context.KeyList.
IndexOf
(record);
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (2)
302
int existingIndex = _entries.
IndexOf
(entry);
322
int result = _entries.
IndexOf
(entry);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
359
return _keyFrames.
IndexOf
(keyFrame);
src\Framework\System\Windows\Navigation\Journal.cs (2)
423
int index = _journalEntryList.
IndexOf
(entry);
444
int index = _journalEntryList.
IndexOf
(target);
src\Framework\System\Windows\TriggerActionCollection.cs (2)
132
return _rawList.
IndexOf
(value);
204
return _rawList.
IndexOf
(VerifyIsTriggerAction(value));
System.Activities (1)
System\Activities\HybridCollection.cs (1)
161
int position = (searchingFromEnd) ? this.multipleItems.LastIndexOf(item) : this.multipleItems.
IndexOf
(item);
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
2406
return list.
IndexOf
(pnt);
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (2)
139
int srcConnectionPointIndex = StateContainerEditor.GetConnectionPoints(sourceConnPoint.ParentDesigner).
IndexOf
(sourceConnPoint);
140
int destConnectionPointIndex = StateContainerEditor.GetConnectionPoints(destConnPoint.ParentDesigner).
IndexOf
(destConnPoint);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
777
int srcConnectionPointIndex = StateContainerEditor.GetConnectionPoints(srcConnPoint.ParentDesigner).
IndexOf
(srcConnPoint);
778
int destConnectionPointIndex = StateContainerEditor.GetConnectionPoints(destConnPoint.ParentDesigner).
IndexOf
(destConnPoint);
System.Activities.Presentation (7)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
846
return SourceLocationNames.
IndexOf
(xamlReader.Member.Name);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (3)
397
int activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
417
activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
438
activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
427
return this.modelItems.
IndexOf
(item);
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
77
if (assemblyNames.
IndexOf
(displayName) == -1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
583
int index = selectedItems.
IndexOf
(item);
System.Data (15)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (3)
397
int activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
417
activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
438
activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
427
return this.modelItems.
IndexOf
(item);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
77
if (assemblyNames.
IndexOf
(displayName) == -1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
583
int index = selectedItems.
IndexOf
(item);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
640
if (0 > providerNames.
IndexOf
(progid)) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (3)
164
Debug.Assert(0 > connections.
IndexOf
(transactedObject), "adding to pool a second time?");
200
Debug.Assert(0 > connections.
IndexOf
(transactedObject), "adding to pool a second time?");
269
entry = connections.
IndexOf
(transactedObject);
fx\src\data\System\Data\RecordManager.cs (2)
239
Debug.Assert((record < lastFreeRecord) && (-1 == freeRecordList.
IndexOf
(record)), "accesing free record");
248
Debug.Assert((record < lastFreeRecord) && (-1 == freeRecordList.
IndexOf
(record)), "accesing free record");
fx\src\data\System\Data\SqlClient\SqlDependency.cs (3)
424
int index = _eventList.
IndexOf
(pair);
853
int index = databaseServiceList.
IndexOf
(databaseService);
937
int index = databaseList.
IndexOf
(pair);
System.Data.Entity (3)
System\Data\Common\Utils\ThreadSafeList.cs (1)
102
result = _list.
IndexOf
(item);
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
194
int oldIndex = _bindingList.
IndexOf
(removedItem);
System\Data\Objects\ObjectViewQueryResultData.cs (1)
228
int itemIndex = _bindingList.
IndexOf
(item);
System.Data.Entity.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
309
int index = readers.
IndexOf
(sourceReader);
System.Data.Linq (2)
SqlClient\SqlConnectionManager.cs (2)
67
int index = this.users.
IndexOf
(user);
126
int index = this.users.
IndexOf
(user);
System.Data.Services (1)
System\Data\Services\Serializers\DictionaryContent.cs (1)
162
int index = this.valueNames.
IndexOf
(propertyName);
System.IdentityModel (1)
System\IdentityModel\MostlySingletonList.cs (1)
95
return this.list.
IndexOf
(item);
System.IO.Log (1)
System\IO\Log\ReservationCollection.cs (1)
286
index = this.reservationKeys.
IndexOf
(size);
System.ServiceModel (6)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
773
int uniqueIndex = uniqueMappings.
IndexOf
(mapping);
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
410
int index = PerformanceCounters.PerformanceCountersForEndpointList.
IndexOf
(counters);
System\ServiceModel\MostlySingletonList.cs (1)
90
return this.list.
IndexOf
(item);
System\UriTemplate.cs (3)
1201
int varIndex = this.pathSegmentVariableNames.
IndexOf
(varName);
1594
int pathVarIndex = this.pathSegmentVariableNames.
IndexOf
(uppercaseVarName);
1600
int queryVarIndex = this.queryValueVariableNames.
IndexOf
(uppercaseVarName);
System.Web (4)
UI\WebControls\MenuItemCollection.cs (2)
169
return _list.
IndexOf
(value);
178
int index = _list.
IndexOf
(value);
UI\WebControls\TreeNodeCollection.cs (2)
172
return _list.
IndexOf
(value);
181
int index = _list.
IndexOf
(value);
System.Web.Extensions (2)
UI\WebControls\QueryableDataSourceView.cs (1)
563
int rowIndex = matches.
IndexOf
(true);
Util\OrderedDictionary.cs (1)
98
int index = _keys.
IndexOf
(key);
System.Workflow.Activities (2)
Common\ValidationHelpers.cs (1)
164
int index = (responsePath.
IndexOf
(requestParent) - 1);
Designers\StateDesigner.cs (1)
925
int indexOf = ordered.
IndexOf
(designer);
System.Workflow.ComponentModel (24)
AuthoringOM\ActivitiesCollection.cs (2)
102
return base.
IndexOf
(item);
126
int index = base.
IndexOf
(item);
AuthoringOM\Design\ActivityDesigner.cs (1)
856
int index = activities.
IndexOf
(Activity as Activity);
AuthoringOM\Design\Connector.cs (3)
1120
int activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
1136
activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
1153
activeEditPointIndex = this.editPoints.
IndexOf
(this.activeEditPoint);
AuthoringOM\Design\DesignerHelpers.cs (1)
1868
return edges[distances.
IndexOf
(minDistance)];
AuthoringOM\Design\DesignerWidgets.cs (12)
706
int itemIndex = this.items.
IndexOf
(itemInfo);
894
int index = this.items.
IndexOf
(this.selectedItem);
913
int nextIndex = this.items.
IndexOf
(e.RemovedItems[0]);
2068
int index = this.tabItemList.
IndexOf
(tabItemInfo);
2080
int index = this.tabItemList.
IndexOf
(tabItemInfo);
2097
int index = this.tabItemList.
IndexOf
(tabItemInfo);
2550
int itemIndex = this.items.
IndexOf
(itemInfo);
2635
int index = this.items.
IndexOf
(ActiveItem) + incr;
2746
if (itemIndex == this.items.
IndexOf
(ActiveItem))
2781
int index = this.items.
IndexOf
(ActiveItem);
2861
int nextIndex = this.items.
IndexOf
(e.RemovedItems[0]);
3533
int index = previewedActivities.
IndexOf
(component as Activity) + 1;
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (1)
72
int actionIndex = this.actions.
IndexOf
(action);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
584
writer.Write(views.
IndexOf
(this.activeView));
AuthoringOM\ItemList.cs (2)
168
return base.
IndexOf
(item);
193
int index = base.
IndexOf
(item);
Shared\ValidationHelpers.cs (1)
163
int index = (responsePath.
IndexOf
(requestParent) - 1);
System.WorkflowServices (2)
System\Workflow\Activities\OperationParameterInfoCollection.cs (2)
220
int index = base.
IndexOf
(item);
269
return base.
IndexOf
(item);