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