1 write to _descending
System.Linq (1)
System\Linq\OrderedEnumerable.cs (1)
182
_descending
= descending;
9 references to _descending
System.Linq (9)
System\Linq\OrderedEnumerable.cs (5)
185
private protected override Iterator<TElement> Clone() => new ImplicitlyStableOrderedIterator<TElement>(_source,
_descending
);
189
new CachingComparer<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default,
_descending
) :
190
new CachingComparerWithChild<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default,
_descending
, childComparer);
193
new EnumerableSorter<TElement, TElement>(EnumerableSorter<TElement>.IdentityFunc, Comparer<TElement>.Default,
_descending
, next);
219
Sort(buffer,
_descending
);
System\Linq\OrderedEnumerable.SpeedOpt.cs (4)
370
Sort(array,
_descending
);
377
Sort(CollectionsMarshal.AsSpan(list),
_descending
);
382
TryGetFirstOrLast(out found, first: !
_descending
);
385
TryGetFirstOrLast(out found, first:
_descending
);