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