8 implementations of LastIndexOf
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1.cs (1)
337public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
337public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
337public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedList`1.cs (1)
337public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
337public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
337public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableArray_1.cs (1)
251public int LastIndexOf(T item, int startIndex, int count, IEqualityComparer<T>? equalityComparer)
System\Collections\Immutable\ImmutableList_1.cs (1)
779public int LastIndexOf(T item, int index, int count, IEqualityComparer<T>? equalityComparer) => _root.LastIndexOf(item, index, count, equalityComparer);
5 references to LastIndexOf
Microsoft.CodeAnalysis.UnitTests (1)
Collections\ImmutableSegmentedListTest.cs (1)
518(b, v, i, c, eq) => b.LastIndexOf(v, i, c, eq));
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableList.cs (4)
249return list.LastIndexOf(item, list.Count - 1, list.Count, EqualityComparer<T>.Default); 276return list.LastIndexOf(item, list.Count - 1, list.Count, equalityComparer); 306return list.LastIndexOf(item, startIndex, startIndex + 1, EqualityComparer<T>.Default); 333return list.LastIndexOf(item, startIndex, count, EqualityComparer<T>.Default);