2 writes to _constrainedComparer
Microsoft.Build (2)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
127
_constrainedComparer
= comparer as IConstrainedEqualityComparer<string>;
552
_constrainedComparer
= _comparer as IConstrainedEqualityComparer<string>;
5 references to _constrainedComparer
Microsoft.Build (5)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (5)
348
if (
_constrainedComparer
== null)
371
if (_slots[i].hashCode == hashCode &&
_constrainedComparer
!= null ?
_constrainedComparer
.Equals(_slots[i].value.Key, item, index, length) : _comparer.Equals(_slots[i].value.Key, item))
907
if (
_constrainedComparer
!= null)
909
return
_constrainedComparer
.GetHashCode(item, index, length) & Lower31BitMask;