13 references to WithComparer
Microsoft.CodeAnalysis.CodeStyle (13)
src\Dependencies\Collections\ImmutableSegmentedHashSet.cs (10)
27
=> ImmutableSegmentedHashSet<T>.Empty.
WithComparer
(equalityComparer);
31
=> ImmutableSegmentedHashSet<T>.Empty.
WithComparer
(equalityComparer).Add(item);
35
=> ImmutableSegmentedHashSet<T>.Empty.
WithComparer
(equalityComparer).Union(items);
43
=> ImmutableSegmentedHashSet<T>.Empty.
WithComparer
(equalityComparer).ToBuilder();
49
return existingSet.
WithComparer
(null);
58
return existingSet.
WithComparer
(equalityComparer);
60
return ImmutableSegmentedHashSet<T>.Empty.
WithComparer
(equalityComparer).Union(items);
67
return existingSet.
WithComparer
(null);
76
return existingSet.
WithComparer
(equalityComparer);
78
return ImmutableSegmentedHashSet<TSource>.Empty.
WithComparer
(equalityComparer).Union(source);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (3)
138
return Empty.
WithComparer
(self.KeyComparer);
247
return otherSet.
WithComparer
(self.KeyComparer);
286
return otherSet.
WithComparer
(self.KeyComparer);