11 references to IndexOf
System.Collections.Immutable (11)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (4)
174int keyCollisionIndex = _additionalElements.IndexOf(kv, keyOnlyComparer); 240int index = _additionalElements.IndexOf(kv, keyOnlyComparer); 275int index = _additionalElements.IndexOf(kv, comparers.KeyOnlyComparer); 314int index = _additionalElements.IndexOf(kv, comparers.KeyOnlyComparer);
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (4)
139if (valueComparer.Equals(value, _firstValue) || _additionalElements.IndexOf(value, valueComparer) >= 0) 161return valueComparer.Equals(value, _firstValue) || _additionalElements.IndexOf(value, valueComparer) >= 0; 183int index = _additionalElements.IndexOf(value, valueComparer); 227int index = _additionalElements.IndexOf(value, equalityComparer);
System\Collections\Immutable\ImmutableList_1.Builder.cs (2)
159return this.Root.IndexOf(item, EqualityComparer<T>.Default); 794int index = this.Root.IndexOf(item, equalityComparer);
System\Collections\Immutable\ImmutableList_1.cs (1)
346int index = result.IndexOf(item, equalityComparer);