9 implementations of Equals
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (1)
302
public bool
Equals
(ReadOnlySpan<char> span, string target)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\NonRandomizedStringEqualityComparer.cs (2)
94
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> span, string? target)
126
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> span, string? target)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\RandomizedStringEqualityComparer.cs (2)
62
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> alternate, string? other)
107
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> alternate, string? other)
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (4)
278
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> span, string? target)
382
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> span, string? target)
456
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> span, string? target)
538
bool IAlternateEqualityComparer<ReadOnlySpan<char>, string?>.
Equals
(ReadOnlySpan<char> span, string? target)
19 references to Equals
System.Collections.Concurrent (3)
System\Collections\Concurrent\ConcurrentDictionary.cs (3)
2427
if (hashcode == node._hashcode && comparer.
Equals
(key, node._key))
2556
if (hashcode == n._hashcode && comparer.
Equals
(key, n._key))
2629
if (hashcode == curr._hashcode && comparer.
Equals
(key, curr._key))
System.Collections.Immutable (8)
System\Collections\Frozen\DefaultFrozenDictionary.AlternateLookup.cs (1)
48
if (hashCode == _hashTable.HashCodes[index] && comparer.
Equals
(key, _keys[index]))
System\Collections\Frozen\DefaultFrozenSet.AlternateLookup.cs (1)
44
if (hashCode == _hashTable.HashCodes[index] && comparer.
Equals
(item, _items[index]))
System\Collections\Frozen\Int32\Int32FrozenDictionary.AlternateLookup.cs (1)
49
if (comparer.
Equals
(key, hashCodes[index]))
System\Collections\Frozen\Int32\Int32FrozenSet.AlternateLookup.cs (1)
46
if (comparer.
Equals
(item, hashCodes[index]))
System\Collections\Frozen\SmallFrozenDictionary.AlternateLookup.cs (1)
46
if (comparer.
Equals
(key, keys[i]))
System\Collections\Frozen\SmallFrozenSet.AlternateLookup.cs (1)
42
if (comparer.
Equals
(item, items[i]))
System\Collections\Frozen\String\LengthBucketsFrozenDictionary.AlternateLookup.cs (1)
45
if (comparer.
Equals
(key, keys[index]))
System\Collections\Frozen\String\LengthBucketsFrozenSet.AlternateLookup.cs (1)
44
if (comparer.
Equals
(item, items[index]))
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
825
if (entry.hashCode == hashCode && comparer.
Equals
(key, entry.key))
891
if (entry.hashCode == hashCode && comparer.
Equals
(key, entry.key))
984
if (entries[i].hashCode == hashCode && comparer.
Equals
(key, entries[i].key))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (3)
479
if (entry.HashCode == hashCode && comparer.
Equals
(item, entry.Value))
563
if (entry.HashCode == hashCode && comparer.
Equals
(item, entry.Value))
651
if (entry.HashCode == hashCode && comparer.
Equals
(item, entry.Value))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IAlternateEqualityComparer.cs (2)
28
/// method on any <typeparamref name="T"/> for which <see cref="
Equals
(TAlternate, T)"/>
34
/// Creates a <typeparamref name="T"/> that is considered by <see cref="
Equals
(TAlternate, T)"/> to be equal