1 type derived from EnumerableSorter
System.Linq (1)
System\Linq\OrderedEnumerable.cs (1)
381private sealed class EnumerableSorter<TElement, TKey> : EnumerableSorter<TElement>
14 references to EnumerableSorter
System.Linq (14)
System\Linq\OrderBy.cs (2)
48OrderBy(source, EnumerableSorter<T>.IdentityFunc, comparer); 93OrderByDescending(source, EnumerableSorter<T>.IdentityFunc, comparer);
System\Linq\OrderedEnumerable.cs (12)
23internal abstract EnumerableSorter<TElement> GetEnumerableSorter(EnumerableSorter<TElement>? next = null); 93internal override EnumerableSorter<TElement> GetEnumerableSorter(EnumerableSorter<TElement>? next) 104EnumerableSorter<TElement> sorter = new EnumerableSorter<TElement, TKey>(_keySelector, comparer, _descending, next); 187new CachingComparer<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default, _descending) : 188new CachingComparerWithChild<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default, _descending, childComparer); 190internal override EnumerableSorter<TElement> GetEnumerableSorter(EnumerableSorter<TElement>? next) => 191new EnumerableSorter<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default, _descending, next); 386private readonly EnumerableSorter<TElement>? _next; 389internal EnumerableSorter(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending, EnumerableSorter<TElement>? next)