13 references to WithComparer
Microsoft.CodeAnalysis (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(); 49return existingSet.WithComparer(null); 58return existingSet.WithComparer(equalityComparer); 60return ImmutableSegmentedHashSet<T>.Empty.WithComparer(equalityComparer).Union(items); 67return existingSet.WithComparer(null); 76return existingSet.WithComparer(equalityComparer); 78return ImmutableSegmentedHashSet<TSource>.Empty.WithComparer(equalityComparer).Union(source);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (3)
138return Empty.WithComparer(self.KeyComparer); 247return otherSet.WithComparer(self.KeyComparer); 286return otherSet.WithComparer(self.KeyComparer);