294 implementations of IndexOf
aspire (1)
src\Shared\CircularBuffer.cs (1)
58public int IndexOf(T item)
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
58public int IndexOf(T item)
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
27public int IndexOf(IResource item) => _resources.IndexOf(item);
src\Shared\CircularBuffer.cs (1)
58public int IndexOf(T item)
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
134public int IndexOf(T item)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
112public int IndexOf(T value)
Shared\Options\ListValue.cs (1)
146public int IndexOf(TValue value)
GenerateDocumentationAndConfigFiles (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Metrics (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Metrics.Legacy (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.AspNetCore.Http.Abstractions (10)
EndpointFilterInvocationContextOfT.Generated.cs (10)
100public int IndexOf(object? item) 229public int IndexOf(object? item) 365public int IndexOf(object? item) 508public int IndexOf(object? item) 658public int IndexOf(object? item) 815public int IndexOf(object? item) 979public int IndexOf(object? item) 1150public int IndexOf(object? item) 1328public int IndexOf(object? item) 1513public int IndexOf(object? item)
Microsoft.AspNetCore.HttpOverrides (2)
DualIPNetworkList.cs (2)
93int IList<IPNetwork>.IndexOf(IPNetwork item) => _system.IndexOf(item); 94int IList<AspNetIPNetwork>.IndexOf(AspNetIPNetwork item) => _aspnet.IndexOf(item);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\CopyOnWriteList.cs (1)
83public int IndexOf(T item)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
CollectionModelBinderIntegrationTest.cs (2)
1351int IList<string>.IndexOf(string item) 1491int IList<T>.IndexOf(T item)
Microsoft.Build (9)
ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
112public int IndexOf(T item)
Instance\ImmutableProjectCollections\LazyStringValuedList.cs (1)
63public int IndexOf(string item)
SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
SegmentedList`1.cs (1)
792public int IndexOf(T item)
SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.CodeStyle (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.Collections.Package (7)
Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.Extensions.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.InteractiveHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\SynchronizedList.cs (1)
92public int IndexOf(T item)
Microsoft.CodeAnalysis.Threading.Package (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.Workspaces (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\GeneratedEmbeddings.cs (1)
84public int IndexOf(TEmbedding item) => _embeddings.IndexOf(item);
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
234public int IndexOf(IConfigurationSource source)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
85public int IndexOf(ServiceDescriptor item)
Microsoft.Extensions.Http (1)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
70public int IndexOf(ServiceDescriptor item) => _services.IndexOf(item);
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
306int IList<string?>.IndexOf(string? item)
Microsoft.Maui (3)
Hosting\Internal\FontCollection.cs (1)
38 public int IndexOf(FontDescriptor item) => _descriptors.IndexOf(item);
Hosting\Internal\MauiServiceCollection.cs (1)
59 public int IndexOf(ServiceDescriptor item) => _descriptors.IndexOf(item);
Primitives\LockableObservableListWrapper.cs (1)
93 public int IndexOf(string item)
Microsoft.Maui.Controls (24)
DefinitionCollection.cs (1)
71 public int IndexOf(T item)
Element\Element.cs (1)
1102 int IList<Element>.IndexOf(Element item) => _inner.IndexOf(item);
Interactivity\TriggerBase.cs (1)
201 public int IndexOf(T item)
Items\SelectionList.cs (1)
71 public int IndexOf(object item)
Layout\Layout.cs (2)
211 public int IndexOfIndexOf(IView item)
LegacyLayouts\LayoutOfT.cs (1)
36 int IList<IView>.IndexOf(IView child)
Menu\MenuBar.cs (1)
83 public int IndexOf(IMenuBarItem item)
Menu\MenuBarItem.cs (1)
89 public int IndexOf(IMenuElement item)
Menu\MenuFlyout.cs (1)
71 public int IndexOf(IMenuElement item)
Menu\MenuFlyoutSubItem.cs (1)
58 public int IndexOf(IMenuElement item)
NavigationStepRequest.cs (1)
62 public int IndexOf(NavigationStepRequest item)
ObservableWrapper.cs (1)
122 public int IndexOf(TRestrict value)
OrderedDictionary.cs (2)
250 int IList<KeyValuePair<TKey, TValue>>.IndexOf(KeyValuePair<TKey, TValue> item) 430 public int IndexOf(TValue item)
ReadOnlyCastingList.cs (1)
109 public int IndexOf(T item) =>
Shell\MenuItemCollection.cs (1)
48 public int IndexOf(MenuItem item) => _inner.IndexOf(item);
Shell\ShellElementCollection.cs (2)
133 public virtual int IndexOf(BaseShellItem item) => Inner.IndexOf(item); 315 public virtual int IndexOf(TBaseShellItem item) => Inner.IndexOf(item);
SwipeView\SwipeItems.cs (1)
106 public int IndexOf(ISwipeItem item)
SynchronizedList.cs (1)
85 public int IndexOf(T item)
TableView\TableSection.cs (1)
95 public int IndexOf(T item)
VisualStateManager.cs (2)
296 public int IndexOf(VisualStateGroup item) 776 public int IndexOf(T item)
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
98 public int IndexOf(Location item)
HandlerImpl\Polyline.Impl.cs (1)
96 public int IndexOf(Location item)
PresentationCore (32)
MS\Internal\PartialArray.cs (1)
96public int IndexOf(T item)
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
124public int IndexOf(double item)
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
82public int IndexOf(Point item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
62public int IndexOf(char item)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
69public int IndexOf(T item)
System\Windows\FreezableCollection.cs (1)
179public int IndexOf(T value)
System\Windows\Generated\TextDecorationCollection.cs (1)
105public int IndexOf(TextDecoration value)
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
104public int IndexOf(Timeline value)
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
107public int IndexOf(BitmapEffect value)
System\Windows\Media\FamilyMapCollection.cs (1)
155public int IndexOf(FontFamilyMap item)
System\Windows\Media\FamilyTypefaceCollection.cs (1)
142public int IndexOf(FamilyTypeface item)
System\Windows\Media\Generated\DoubleCollection.cs (1)
108public int IndexOf(double value)
System\Windows\Media\Generated\DrawingCollection.cs (1)
126public int IndexOf(Drawing value)
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
114public int IndexOf(GeneralTransform value)
System\Windows\Media\Generated\GeometryCollection.cs (1)
126public int IndexOf(Geometry value)
System\Windows\Media\Generated\GradientStopCollection.cs (1)
114public int IndexOf(GradientStop value)
System\Windows\Media\Generated\Int32Collection.cs (1)
108public int IndexOf(int value)
System\Windows\Media\Generated\PathFigureCollection.cs (1)
115public int IndexOf(PathFigure value)
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
114public int IndexOf(PathSegment value)
System\Windows\Media\Generated\PointCollection.cs (1)
108public int IndexOf(Point value)
System\Windows\Media\Generated\TextEffectCollection.cs (1)
114public int IndexOf(TextEffect value)
System\Windows\Media\Generated\TransformCollection.cs (1)
126public int IndexOf(Transform value)
System\Windows\Media\Generated\VectorCollection.cs (1)
108public int IndexOf(Vector value)
System\Windows\Media\GlyphRun.cs (2)
2091public int IndexOf(bool item) 2193public int IndexOf(ushort item)
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
112public int IndexOf(GeneralTransform3D value)
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
124public int IndexOf(Material value)
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
124public int IndexOf(Model3D value)
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
106public int IndexOf(Point3D value)
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
124public int IndexOf(Transform3D value)
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
106public int IndexOf(Vector3D value)
System\Windows\Media3D\Visual3DCollection.cs (1)
191public int IndexOf(Visual3D value)
PresentationFramework (12)
MS\Internal\Data\RBTree.cs (1)
481public virtual int IndexOf(T item)
MS\Internal\Documents\ContentElementCollection.cs (1)
182public int IndexOf(TItem item)
MS\Internal\ListOfObject.cs (1)
23int IList<object>.IndexOf(object item)
System\Windows\Controls\ColumnDefinition.cs (1)
204public int IndexOf(ColumnDefinition value) // int IList<T>.IndexOf(T item);
System\Windows\Controls\CustomDictionarySources.cs (1)
75int IList<Uri>.IndexOf(Uri item)
System\Windows\Controls\RowDefinition.cs (1)
199public int IndexOf(RowDefinition value) // int IList<T>.IndexOf(T item);
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
304public int IndexOf(DataGridCellInfo cell)
System\Windows\Documents\TableCellCollection.cs (1)
149public int IndexOf(TableCell item)
System\Windows\Documents\TableColumnCollection.cs (1)
149public int IndexOf(TableColumn item)
System\Windows\Documents\TableRowCollection.cs (1)
149public int IndexOf(TableRow item)
System\Windows\Documents\TableRowGroupCollection.cs (1)
149public int IndexOf(TableRowGroup item)
System\Windows\TriggerActionCollection.cs (1)
128public int IndexOf(TriggerAction value)
Roslyn.Diagnostics.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
System.Collections (5)
System\Collections\Generic\OrderedDictionary.cs (3)
1170int IList<KeyValuePair<TKey, TValue>>.IndexOf(KeyValuePair<TKey, TValue> item) 1598int IList<TKey>.IndexOf(TKey item) => _dictionary.IndexOf(item); 1743int IList<TValue>.IndexOf(TValue item)
System\Collections\Generic\SortedList.cs (2)
1091public int IndexOf(TKey key) 1205public int IndexOf(TValue value)
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
753public int IndexOf(T item)
System\Collections\Immutable\ImmutableArray_1.cs (1)
112public int IndexOf(T item)
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
153public int IndexOf(T item)
System\Collections\Immutable\ImmutableList_1.cs (1)
808public int IndexOf(T value) => this.IndexOf(value, EqualityComparer<T>.Default);
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
582public int IndexOf(T item)
System.Data.Common (1)
System\Data\Common\DbBatchCommandCollection.cs (1)
29public abstract int IndexOf(DbBatchCommand item);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\TagList.netcore.cs (1)
274public readonly int IndexOf(KeyValuePair<string, object?> item)
System.DirectoryServices.AccountManagement (1)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net11.0\System.DirectoryServices.AccountManagement.notsupported.cs (1)
373public int IndexOf(T value) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
744public int IndexOf(string item) => Array.IndexOf(Items, item);
System.Linq (4)
System\Linq\Grouping.cs (1)
414int IList<TElement>.IndexOf(TElement item) => Array.IndexOf(_elements, item, 0, _count);
System\Linq\Range.SpeedOpt.cs (1)
77public int IndexOf(T item)
System\Linq\Repeat.SpeedOpt.cs (1)
90public int IndexOf(TResult item) => Contains(item) ? 0 : -1;
System\Linq\SkipTake.SpeedOpt.cs (1)
167public int IndexOf(TSource item)
System.Linq.AsyncEnumerable (2)
System\Linq\GroupBy.cs (1)
452int IList<TElement>.IndexOf(TElement item) => Array.IndexOf(_elements, item, 0, _count);
System\Linq\ToLookupAsync.cs (1)
247public int IndexOf(IGrouping<TKey, TElement> item) => -1;
System.Linq.Expressions (3)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
22public int IndexOf(T item)
System\Linq\Expressions\BlockExpression.cs (1)
692public int IndexOf(Expression item)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
115public int IndexOf(T item)
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
87int IList<T>.IndexOf(T item)
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
197int IList<T>.IndexOf(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
718public int IndexOf(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
91public int IndexOf(T item)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
51public int IndexOf(T value)
System.Private.Xml (4)
System\Xml\Xsl\ListBase.cs (1)
38public virtual int IndexOf(T value)
System\Xml\Xsl\QIL\QilNode.cs (1)
194public virtual int IndexOf(QilNode node)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (2)
333public int IndexOf(T value) 737int IList<XPathItem>.IndexOf(XPathItem value)
System.ServiceModel.Primitives (2)
System\ServiceModel\SynchronizedCollection.cs (1)
132public int IndexOf(T item)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
109public int IndexOf(T value)
System.Text.Json (3)
System\Text\Json\Nodes\JsonArray.IList.cs (1)
67public int IndexOf(JsonNode? item) => List.IndexOf(item);
System\Text\Json\Nodes\JsonObject.IList.cs (1)
93int IList<KeyValuePair<string, JsonNode?>>.IndexOf(KeyValuePair<string, JsonNode?> item) => ((IList<KeyValuePair<string, JsonNode?>>)Dictionary).IndexOf(item);
System\Text\Json\Serialization\ConfigurationList.cs (1)
80public int IndexOf(TItem item)
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CaptureCollection.cs (1)
114int IList<Capture>.IndexOf(Capture item)
System\Text\RegularExpressions\GroupCollection.cs (1)
128int IList<Group>.IndexOf(Group item)
System\Text\RegularExpressions\MatchCollection.cs (1)
131int IList<Match>.IndexOf(Match item)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ListAdapter.cs (1)
35int IList<T>.IndexOf(T item) => _list.IndexOf(item);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
50public int IndexOf(T item) => _list.IndexOf(item);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
593public int IndexOf(int item) => throw new NotImplementedException();
System.Xaml (1)
System\Xaml\XamlSchemaContext.cs (1)
1417int IList<T>.IndexOf(T item)
Test.Utilities (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
Text.Analyzers (7)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
303public int IndexOf(T value)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+Builder.cs (1)
146public int IndexOf(T item)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
199public readonly int IndexOf(T item)
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
254int IList<T>.IndexOf(T value)
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
792public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.List.cs (1)
31public int IndexOf(T item)
src\Dependencies\Collections\Specialized\SpecializedCollections.Singleton.Collection`1.cs (1)
83public int IndexOf(T item)
109 references to IndexOf
Aspire.Hosting (1)
Ats\CollectionExports.cs (1)
206=> list.IndexOf(item);
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
116return _items.IndexOf(value);
GenerateDocumentationAndConfigFiles (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Metrics (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Metrics.Legacy (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.AspNetCore.HttpOverrides.Tests (3)
DualIPNetworkListTests.cs (3)
143Assert.Equal(1, options.KnownIPNetworks.IndexOf(System.Net.IPNetwork.Parse("10.0.0.0/8"))); 156Assert.Equal(-1, options.KnownNetworks.IndexOf(new AspNetIPNetwork(IPAddress.Parse("10.0.0.0"), 8))); 157Assert.Equal(1, options.KnownNetworks.IndexOf(item));
Microsoft.Build (2)
IEnumerableExtensions.cs (1)
580IList<T> list => list.IndexOf(value),
SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.Analyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.Collections.Package (2)
Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.CSharp.Features (3)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceQueryLocal.cs (2)
63var firstClauseAffectedIndex = oldClauses.IndexOf(firstClauseAffectedInQuery); 101var oldClauseIndex = oldClauses.IndexOf(oldClause);
Organizing\Organizers\MemberDeclarationsOrganizer.cs (1)
77var indexInFinalList = finalList.IndexOf(originalFirstNode);
Microsoft.CodeAnalysis.EditorFeatures (4)
Preview\SolutionPreviewResult.cs (2)
42_previews.IndexOf(i1) - _previews.IndexOf(i2);
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
259var existingIndex = _committedSessions.IndexOf(TrackingSession);
SignatureHelp\Controller.Session_ComputeModel.cs (1)
101currentModel.Items.IndexOf(currentModel.SelectedItem) == items.SelectedItemIndex &&
Microsoft.CodeAnalysis.Extensions.Package (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.Features (1)
IntroduceVariable\AbstractIntroduceVariableService.cs (1)
222var legalIndex = legalInsertionIndices.IndexOf(true);
Microsoft.CodeAnalysis.InteractiveHost (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
104return matchingSignature != null ? items.Items.IndexOf(matchingSignature) : 0;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.Threading.Package (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.UnitTests (11)
Collections\Extensions\EnumerableExtensionsTests.cs (2)
78Assert.Equal(-1, SpecializedCollections.SingletonList(5).IndexOf(6)); 79Assert.Equal(0, SpecializedCollections.SingletonList(5).IndexOf(5));
Collections\List\IList.Generic.Tests.cs (8)
297Assert.Equal(-1, list.IndexOf(value)); 302Assert.Throws<ArgumentNullException>(() => list.IndexOf(default(T)!)); 320Assert.Equal(0, list.IndexOf(value)); 333Assert.Equal(-1, list.IndexOf(value)); 347Assert.Equal(0, list.IndexOf(value)); 359Assert.Equal(index, list.IndexOf(list[index])); 372Assert.Throws<ArgumentException>(() => list.IndexOf(value)); 389Assert.Equal(index, list.IndexOf(expectedList[index]))
Collections\SegmentedArrayTests.cs (1)
90Assert.Throws<NullReferenceException>(() => ((IList<IntPtr>)data).IndexOf(IntPtr.Zero));
Microsoft.CodeAnalysis.Workspaces (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
2553int index = tools.IndexOf(originalFunctionB); 3141int index = tools.IndexOf(originalFunctionB);
Microsoft.Extensions.Http (2)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (2)
38_services.IndexOf(_tracker.InsertDefaultsAfterDescriptor) is var index && index != -1) 70public int IndexOf(ServiceDescriptor item) => _services.IndexOf(item);
Microsoft.Maui (1)
Extensions\EnumerableExtensions.cs (1)
72 return list.IndexOf(item);
Microsoft.Maui.Controls (12)
BindingExpression.cs (1)
436 var index = tupleEltNames.TransformNames.IndexOf(name);
Element\Element.cs (1)
246 var index = LogicalChildrenInternalBackingStore.IndexOf(element);
Interactivity\TriggerBase.cs (1)
203 return _actual.IndexOf(item);
Items\SelectionList.cs (1)
73 return _internal.IndexOf(item);
LegacyLayouts\FlexLayout.cs (1)
320 _root.InsertAt(Children.IndexOf(view), item);
MultiPage.cs (1)
217 if (CurrentPage == null || Children.IndexOf(CurrentPage) == -1)
ReadOnlyCastingList.cs (1)
110 _list.IndexOf(item as TFrom);
Shell\ShellElementCollection.cs (1)
315 public virtual int IndexOf(TBaseShellItem item) => Inner.IndexOf(item);
Shell\ShellUriHandler.cs (3)
817 itemIndex = Shell.Items.IndexOf(Item); 822 sectionIndex = Item.Items.IndexOf(Section); 827 contentIndex = Section.Items.IndexOf(Content) + 1;
VisualStateManager.cs (1)
298 return _internalList.IndexOf(item);
Microsoft.Maui.Controls.Maps (5)
HandlerImpl\Polygon.Impl.cs (2)
100 return Geopath.IndexOf(item); 121 var index = Geopath.IndexOf(item);
HandlerImpl\Polyline.Impl.cs (2)
98 return Geopath.IndexOf(item); 120 var index = Geopath.IndexOf(item);
Map.cs (1)
261 var index = MapElements.IndexOf(mapElement);
Microsoft.VisualStudio.LanguageServices (2)
NavigationBar\NavigationBarClient.cs (2)
315var projectIndex = selectedProject != null ? _projectItems.IndexOf(selectedProject) : -1; 316var typeIndex = selectedType != null ? _currentTypeItems.IndexOf(selectedType) : -1;
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyles\NamingStyleViewModel.cs (1)
41CapitalizationSchemeIndex = CapitalizationSchemes.IndexOf(CapitalizationSchemes.Single(s => s.Capitalization == style.CapitalizationScheme));
PresentationCore (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
71int index = _list.IndexOf(item);
System\Windows\Media\Animation\AnimationLayer.cs (1)
151int index = _animationClocks.IndexOf(animationClock);
PresentationFramework (2)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
162startIndex = columns.IndexOf(startAfterItem.Column) + 1;
System\Windows\Documents\PageContentCollection.cs (1)
130return InternalList.IndexOf(pc);
ReachFramework (1)
MS\Internal\Printing\Configuration\WinSpoolPrinterCapabilities.cs (1)
332int defaultPaperSizeIndex = paperSizeCodes.IndexOf(defaultDevMode.PaperSize);
Roslyn.Diagnostics.Analyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
System.Collections (1)
System\Collections\Generic\OrderedDictionary.cs (1)
1348return ((IList<KeyValuePair<TKey, TValue>>)this).IndexOf(pair);
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
18/// We implement <see cref="IList{T}"/> because it gives us <see cref="IList{T}.IndexOf"/>, which is important for some folks.
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (2)
93return items.IndexOf(item); 118int index = items.IndexOf(item);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
53return list.IndexOf(value);
System.ServiceModel.Primitives (1)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
113return Items.IndexOf(value);
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IList.cs (1)
93int IList<KeyValuePair<string, JsonNode?>>.IndexOf(KeyValuePair<string, JsonNode?> item) => ((IList<KeyValuePair<string, JsonNode?>>)Dictionary).IndexOf(item);
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\CaptureCollection.cs (2)
146((IList<Capture>)this).IndexOf(item) >= 0; 161value is Capture other ? ((IList<Capture>)this).IndexOf(other) : -1;
System\Text\RegularExpressions\GroupCollection.cs (2)
160((IList<Group>)this).IndexOf(item) >= 0; 175value is Group other ? ((IList<Group>)this).IndexOf(other) : -1;
System\Text\RegularExpressions\MatchCollection.cs (1)
174value is Match other ? ((IList<Match>)this).IndexOf(other) : -1;
Test.Utilities (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);
Text.Analyzers (2)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (1)
609IList<T> list => list.IndexOf(value),
src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
259var index = list.IndexOf(value);