2 writes to _comparer
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
58_comparer = comparer ?? Comparer<T>.Default; 73_comparer = comparer;
13 references to _comparer
System.Collections.Immutable (13)
System\Collections\Immutable\ImmutableSortedSet_1.cs (13)
81return _root.IsEmpty ? this : Empty.WithComparer(_comparer); 127get { return _comparer; } 181return this.Wrap(_root.Add(value, _comparer, out _)); 189return this.Wrap(_root.Remove(value, _comparer, out _)); 206Node searchResult = _root.Search(equalValue, _comparer); 250result = result.Remove(item, _comparer, out mutated); 265ImmutableSortedSet<T> otherAsSet = ImmutableSortedSet.CreateRange(_comparer, other); 351if (comparer == _comparer) 584return _root.IndexOf(item, _comparer); 596return _root.Contains(value, _comparer); 1052result = result.Add(item, _comparer, out _); 1076result = result.Add(item, _comparer, out _); 1091return root.IsEmpty ? this.Clear() : new ImmutableSortedSet<T>(root, _comparer);