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