71 implementations of IndexOf
mscorlib (5)
system\arraysegment.cs (1)
171int IList<T>.IndexOf(T item)
system\collections\generic\list.cs (2)
612public int IndexOf(T item) { 1120public int IndexOf(T item) {
system\collections\objectmodel\collection.cs (1)
90public int IndexOf(T item) {
system\collections\objectmodel\readonlycollection.cs (1)
54public int IndexOf(T value) {
PresentationCore (32)
Core\CSharp\MS\Internal\PartialArray.cs (1)
113public int IndexOf(T item)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
147public int IndexOf(double item)
Core\CSharp\MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
101public int IndexOf(Point item)
Core\CSharp\System\Windows\FreezableCollection.cs (1)
215public int IndexOf(T value)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
127public int IndexOf(TextDecoration value)
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
135public int IndexOf(Timeline value)
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
134public int IndexOf(BitmapEffect value)
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
173public int IndexOf(FontFamilyMap item)
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
159public int IndexOf(FamilyTypeface item)
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
130public int IndexOf(double value)
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
148public int IndexOf(Drawing value)
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
136public int IndexOf(GeneralTransform value)
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
148public int IndexOf(Geometry value)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
136public int IndexOf(GradientStop value)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
130public int IndexOf(int value)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
137public int IndexOf(PathFigure value)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
136public int IndexOf(PathSegment value)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
130public int IndexOf(Point value)
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
136public int IndexOf(TextEffect value)
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
148public int IndexOf(Transform value)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
130public int IndexOf(Vector value)
Core\CSharp\System\Windows\Media\GlyphRun.cs (2)
2139public int IndexOf(bool item) 2241public int IndexOf(ushort item)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
132public int IndexOf(GeneralTransform3D value)
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
144public int IndexOf(Material value)
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
144public int IndexOf(Model3D value)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
126public int IndexOf(Point3D value)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
144public int IndexOf(Transform3D value)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
126public int IndexOf(Vector3D value)
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
219public int IndexOf(Visual3D value)
Shared\MS\Internal\CharacterBuffer.cs (1)
71public int IndexOf(char item)
Shared\MS\Internal\PartialList.cs (1)
96public int IndexOf(T item)
PresentationFramework (10)
src\Framework\MS\Internal\Data\RBTree.cs (1)
493public virtual int IndexOf(T item)
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
197public int IndexOf(TItem item)
src\Framework\MS\Internal\ListOfObject.cs (1)
23int IList<object>.IndexOf(object item)
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (1)
85int IList<Uri>.IndexOf(Uri item)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
310public int IndexOf(DataGridCellInfo cell)
src\Framework\System\Windows\Documents\TableCellCollection.cs (1)
154public int IndexOf(TableCell item)
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
155public int IndexOf(TableColumn item)
src\Framework\System\Windows\Documents\TableRowCollection.cs (1)
154public int IndexOf(TableRow item)
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (1)
154public int IndexOf(TableRowGroup item)
src\Framework\System\Windows\TriggerActionCollection.cs (1)
130public int IndexOf(TriggerAction value)
System (2)
compmod\system\collections\generic\sortedlist.cs (2)
994public int IndexOf(TKey key) { 1094public int IndexOf(TValue value) {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
169public abstract int IndexOf(ModelItem item);
System.AddIn (1)
System\Addin\Pipeline\ContractListAdapter.cs (1)
90public int IndexOf(U item)
System.Core (5)
Microsoft\Scripting\Ast\BlockExpression.cs (1)
512public int IndexOf(Expression item) {
Microsoft\Scripting\Ast\ListArgumentProvider.cs (1)
47public int IndexOf(Expression item) {
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
130public int IndexOf(T item) {
System\Linq\Enumerable.cs (1)
2355int IList<TElement>.IndexOf(TElement item) {
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
91int IList<T>.IndexOf(T item)
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
169public abstract int IndexOf(ModelItem item);
System.Data.Entity (3)
System\Data\Common\Utils\ThreadSafeList.cs (1)
96public int IndexOf(T item)
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
223int IList<IRelationshipEnd>.IndexOf(IRelationshipEnd end)
System\Data\Metadata\Edm\MetadataCollection.cs (1)
552public virtual int IndexOf(T item)
System.Data.Linq (1)
Types.cs (1)
315public int IndexOf(TEntity entity) {
System.Data.SqlXml (4)
System\Xml\Xsl\ListBase.cs (1)
37public virtual int IndexOf(T value) {
System\Xml\Xsl\QIL\QilNode.cs (1)
174public virtual int IndexOf(QilNode node) {
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
307public int IndexOf(T value) { 664int IList<XPathItem>.IndexOf(XPathItem value) {
System.ServiceModel (2)
System\ServiceModel\SynchronizedCollection.cs (1)
135public int IndexOf(T item)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
114public int IndexOf(T value)
System.Workflow.ComponentModel (2)
AuthoringOM\ActivitiesCollection.cs (1)
100int IList<Activity>.IndexOf(Activity item)
AuthoringOM\ItemList.cs (1)
166int IList<T>.IndexOf(T item)
System.WorkflowServices (1)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
267int IList<OperationParameterInfo>.IndexOf(OperationParameterInfo item)
WindowsBase (1)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
71public int IndexOf(T value) {
34 references to IndexOf
mscorlib (4)
system\collections\objectmodel\collection.cs (2)
91return items.IndexOf(item); 111int index = items.IndexOf(item);
system\collections\objectmodel\readonlycollection.cs (1)
55return list.IndexOf(value);
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (1)
84int ind = _this.IndexOf(value);
PresentationCore (2)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (1)
153int index = _animationClocks.IndexOf(animationClock);
Shared\MS\Internal\PartialList.cs (1)
98int index = _list.IndexOf(item);
PresentationFramework (2)
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
171startIndex = columns.IndexOf(startAfterItem.Column) + 1;
src\Framework\System\Windows\Documents\PageContentCollection.cs (1)
144return InternalList.IndexOf(pc);
System.Activities (7)
System\Activities\DynamicUpdate\ActivityComparer.cs (1)
416if (newArgumentInfos.IndexOf(new ArgumentInfo(oldRuntimeArgument)) == EnvironmentUpdateMapEntry.NonExistent)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (4)
684int oldIndex = oldArguments.IndexOf(new ArgumentInfo(newArgument)); 964this.newToOldMatches[newVariable] = oldVariable.Owner.RuntimeVariables.IndexOf(oldVariable); 1060oldIndex = newVariable.Owner.ImplementationVariables.IndexOf(newVariable); 1246int index = newVariable.Owner.RuntimeVariables.IndexOf(newVariable);
System\Activities\DynamicUpdate\DynamicUpdateMapQuery.cs (2)
121int newIndex = newVariable.Owner.RuntimeVariables.IndexOf(newVariable); 174int oldIndex = oldVariable.Owner.RuntimeVariables.IndexOf(oldVariable);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
71if (importedNamespace.IndexOf(visualbasicImport.Import) == -1)
System.AddIn (1)
System\Addin\Pipeline\ListContractAdapter.cs (1)
59return m_list.IndexOf(m_unwrapper(item));
System.Data.Entity (4)
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (1)
319int promotionIndex = promotions.IndexOf(primitiveToType);
System\Data\Metadata\TypeHelpers.cs (1)
218int index = promotableTypes.IndexOf(fromPrimitiveType);
System\Data\Objects\ObjectView.cs (2)
398index = _viewData.List.IndexOf((TElement)value); 430int index = _viewData.List.IndexOf(item);
System.ServiceModel (1)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
118return this.items.IndexOf(value);
System.Web.DataVisualization (1)
Common\Formulas\FormulaHelpers.cs (1)
1379int dataFieldIndex = dataFields.IndexOf(info.DataField);
System.Windows.Forms.DataVisualization (1)
Common\Formulas\FormulaHelpers.cs (1)
1379int dataFieldIndex = dataFields.IndexOf(info.DataField);
System.Workflow.ComponentModel (7)
AuthoringOM\ActivitiesCollection.cs (2)
240return ((IList<Activity>)this).IndexOf(item); 280return ((IList<Activity>)this).IndexOf((Activity)value);
AuthoringOM\Design\ActivityPreviewDesigner.cs (4)
712selectedItem = this.previewStrip.Items.IndexOf(previewStrip.ActiveItem); 778int index = this.previewStrip.Items.IndexOf(new ItemInfo(listChangeArgs.RemovedItems[0].GetHashCode())); 871int index = this.previewStrip.Items.IndexOf(activeItem) + ((viewNext) ? 1 : -1); 882designerVerb.Enabled = (this.previewStrip.ActiveItem != null && this.previewStrip.Items.Count > 1 && this.previewStrip.Items.IndexOf(this.previewStrip.ActiveItem) >= 0);
AuthoringOM\ItemList.cs (1)
347return ((IList<T>)this).IndexOf((T)value);
System.WorkflowServices (2)
System\Workflow\Activities\OperationParameterInfoCollection.cs (2)
280return ((IList<OperationParameterInfo>) this).IndexOf((OperationParameterInfo) value); 331return ((IList<OperationParameterInfo>) this).IndexOf(item);
WindowsBase (1)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
73return CreateDereferencedList().IndexOf(value);