1 write to _descending
System.Linq (1)
System\Linq\OrderedEnumerable.cs (1)
180
_descending
= descending;
9 references to _descending
System.Linq (9)
System\Linq\OrderedEnumerable.cs (5)
183
private protected override Iterator<TElement> Clone() => new ImplicitlyStableOrderedIterator<TElement>(_source,
_descending
);
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);
191
new EnumerableSorter<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default,
_descending
, next);
217
Sort(buffer,
_descending
);
System\Linq\OrderedEnumerable.SpeedOpt.cs (4)
366
Sort(array,
_descending
);
373
Sort(CollectionsMarshal.AsSpan(list),
_descending
);
378
TryGetFirstOrLast(out found, first: !
_descending
);
381
TryGetFirstOrLast(out found, first:
_descending
);