7 references to KeyComparer
Microsoft.CodeAnalysis.CodeStyle (7)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (6)
112
var set = new SegmentedHashSet<T>(self.
KeyComparer
) { value };
138
return Empty.WithComparer(self.
KeyComparer
);
247
return otherSet.WithComparer(self.
KeyComparer
);
252
return ImmutableSegmentedHashSet.CreateRange(self.
KeyComparer
, other);
286
return otherSet.WithComparer(self.
KeyComparer
);
308
if (Equals(self.
KeyComparer
, equalityComparer))
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
68
_mutableSet = new SegmentedHashSet<T>(originalSet._set, originalSet.
KeyComparer
);