10 references to IndexOf
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1.cs (1)
484var index = self.IndexOf(oldValue, equalityComparer);
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
484var index = self.IndexOf(oldValue, equalityComparer);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
484var index = self.IndexOf(oldValue, equalityComparer);
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedList`1.cs (1)
484var index = self.IndexOf(oldValue, equalityComparer);
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
484var index = self.IndexOf(oldValue, equalityComparer);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
484var index = self.IndexOf(oldValue, equalityComparer);
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableArray_1.cs (1)
304return this.IndexOf(item, equalityComparer) >= 0;
System\Collections\Immutable\ImmutableList_1.cs (3)
288int index = this.IndexOf(value, equalityComparer); 401int index = this.IndexOf(oldValue, equalityComparer); 808public int IndexOf(T value) => this.IndexOf(value, EqualityComparer<T>.Default);