6 writes to comparer
System (6)
compmod\system\collections\generic\sortedset.cs (6)
94this.comparer = Comparer<T>.Default; 100this.comparer = Comparer<T>.Default; 102this.comparer = comparer; 1763comparer = null; 2028comparer = (IComparer<T>)siInfo.GetValue(ComparerName, typeof(IComparer<T>)); 2105comparer = (IComparer<T>)siInfo.GetValue(ComparerName, typeof(IComparer<T>));
20 references to comparer
System (20)
compmod\system\collections\generic\sortedset.cs (20)
166els.Sort(this.comparer); 200if (!(comparer.Compare(item, min) < 0 || comparer.Compare(item, max) > 0) && this.Contains(item)) 300return comparer; 382order = comparer.Compare(item, current.Item); 537int order = foundMatch ? -1 : comparer.Compare(item, current.Item); 784int order = comparer.Compare(item, current.Item); 802int order = comparer.Compare(item, current.Item); 821if (lowerBoundActive && comparer.Compare(from, current.Item) > 0) { 824if (upperBoundActive && comparer.Compare(to, current.Item) < 0) { 997SortedSet<T> dummy = new SortedSet<T>(s, this.comparer); 1215if (!(comparer.Compare(asSorted.Max, this.Min) < 0 || comparer.Compare(asSorted.Min, this.Max) > 0)) { 1219if (comparer.Compare(item, min) < 0) 1221if (comparer.Compare(item, max) > 0) 1297while (i < other.Length && i != 0 && comparer.Compare(other[i], last) == 0) 1534if (asSorted != null && AreComparersEqual(this, asSorted) && (comparer.Compare(Min, asSorted.Max) > 0 || comparer.Compare(Max, asSorted.Min) < 0)) { 2082info.AddValue(ComparerName, comparer, typeof(IComparer<T>)); 2097if (comparer != null) {