1 write to _comparer
System.Linq (1)
System\Linq\OrderedEnumerable.cs (1)
87_comparer = comparer ?? Comparer<TKey>.Default;
6 references to _comparer
System.Linq (6)
System\Linq\OrderedEnumerable.cs (4)
91private protected override Iterator<TElement> Clone() => new OrderedIterator<TElement, TKey>(_source, _keySelector, _comparer, _descending, _parent); 98IComparer<TKey> comparer = _comparer; 116? new CachingComparer<TElement, TKey>(_keySelector, _comparer, _descending) 117: new CachingComparerWithChild<TElement, TKey>(_keySelector, _comparer, _descending, childComparer);
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
267IComparer<TKey> comparer = _comparer; 319IComparer<TKey> comparer = _comparer;