9 references to WithComparer
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
1268var diagnosticIds = ImmutableSortedSet<string>.Empty.WithComparer(StringComparer.OrdinalIgnoreCase);
System.Collections.Immutable (8)
System\Collections\Immutable\ImmutableSortedSet.cs (6)
33return ImmutableSortedSet<T>.Empty.WithComparer(comparer); 56return ImmutableSortedSet<T>.Empty.WithComparer(comparer).Add(item); 79return ImmutableSortedSet<T>.Empty.WithComparer(comparer).Union(items); 128return ImmutableSortedSet<T>.Empty.WithComparer(comparer).Union(items); 165return existingSet.WithComparer(comparer); 168return ImmutableSortedSet<TSource>.Empty.WithComparer(comparer).Union(source);
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
81return _root.IsEmpty ? this : Empty.WithComparer(_comparer); 1028? ImmutableSortedSet<T>.Empty.WithComparer(comparer)