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