2 writes to _comparer
Microsoft.Build.Framework (2)
SegmentedDictionary`2.cs (2)
91
_comparer
= comparer;
96
_comparer
??= EqualityComparer<TKey>.Default;
8 references to _comparer
Microsoft.Build.Framework (8)
SegmentedDictionary`2.cs (8)
54
/// <see cref="
_comparer
"/> is initialized to a non-<see langword="null"/> value.
161
return
_comparer
?? EqualityComparer<TKey>.Default;
338
var comparer =
_comparer
;
484
var comparer =
_comparer
;
689
var hashCode = (uint)(
_comparer
?.GetHashCode(key) ?? key.GetHashCode());
698
if (entry._hashCode == hashCode && (
_comparer
?.Equals(entry._key, key) ?? EqualityComparer<TKey>.Default.Equals(entry._key, key)))
761
var hashCode = (uint)(
_comparer
?.GetHashCode(key) ?? key.GetHashCode());
770
if (entry._hashCode == hashCode && (
_comparer
?.Equals(entry._key, key) ?? EqualityComparer<TKey>.Default.Equals(entry._key, key)))