8 implementations of IndexOf
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1.cs (1)
304public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
304public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
304public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedList`1.cs (1)
304public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
304public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
304public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableArray_1.cs (1)
166public int IndexOf(T item, int startIndex, int count, IEqualityComparer<T>? equalityComparer)
System\Collections\Immutable\ImmutableList_1.cs (1)
757public int IndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer) => _root.IndexOf(item, index, count, equalityComparer);
5 references to IndexOf
Microsoft.CodeAnalysis.UnitTests (1)
Collections\ImmutableSegmentedListTest.cs (1)
499(b, v, i, c, eq) => b.IndexOf(v, i, c, eq));
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableList.cs (4)
149return list.IndexOf(item, 0, list.Count, EqualityComparer<T>.Default); 170return list.IndexOf(item, 0, list.Count, equalityComparer); 195return list.IndexOf(item, startIndex, list.Count - startIndex, EqualityComparer<T>.Default); 223return list.IndexOf(item, startIndex, count, EqualityComparer<T>.Default);