2 writes to _comparer
Microsoft.Build (2)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
126
_comparer
= comparer;
551
_comparer
= (IEqualityComparer<string>)_siInfo.GetValue(ComparerName, typeof(IEqualityComparer<string>));
6 references to _comparer
Microsoft.Build (6)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (6)
371
if (_slots[i].hashCode == hashCode && _constrainedComparer != null ? _constrainedComparer.Equals(_slots[i].value.Key, item, index, length) :
_comparer
.Equals(_slots[i].value.Key, item))
424
if (_slots[i].hashCode == hashCode &&
_comparer
.Equals(_slots[i].value.Key, item))
525
info.AddValue(ComparerName,
_comparer
, typeof(IEqualityComparer<string>));
552
_constrainedComparer =
_comparer
as IConstrainedEqualityComparer<string>;
829
if (_slots[i].hashCode == hashCode &&
_comparer
.Equals(_slots[i].value.Key, key))
926
return
_comparer
.GetHashCode(item) & Lower31BitMask;