7 references to KeyComparer
Microsoft.Build.Framework (7)
ImmutableSegmentedDictionary`2.cs (6)
160
if (self.IsEmpty && TryCastToImmutableSegmentedDictionary(pairs, out var other) && self.
KeyComparer
== other.
KeyComparer
)
190
return Empty.WithComparer(self.
KeyComparer
);
261
if (self.
KeyComparer
.Equals(key, equalKey))
282
if (self.
KeyComparer
== keyComparer)
289
if (keyComparer == Empty.
KeyComparer
)
ImmutableSegmentedDictionary`2+Builder.cs (1)
98
return _mutableDictionary ??= new SegmentedDictionary<TKey, TValue>(_dictionary._dictionary, _dictionary.
KeyComparer
);