17 references to IsWorseThan
System.Linq.Parallel (17)
System\Linq\Parallel\Merging\MergeExecutor.cs (1)
60
if (options != ParallelMergeOptions.FullyBuffered && !partitions.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing))
System\Linq\Parallel\QueryOperators\Binary\ConcatQueryOperator.cs (4)
46
_prematureMergeLeft = LeftChild.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
47
_prematureMergeRight = RightChild.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
90
Debug.Assert(!ExchangeUtilities.
IsWorseThan
(leftStream.OrdinalIndexState, OrdinalIndexState.Increasing));
109
Debug.Assert(!ExchangeUtilities.
IsWorseThan
(rightStream.OrdinalIndexState, OrdinalIndexState.Increasing));
System\Linq\Parallel\QueryOperators\Binary\JoinQueryOperator.cs (1)
82
if (ExchangeUtilities.
IsWorseThan
(LeftChild.OrdinalIndexState, OrdinalIndexState.Increasing))
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
45
if (ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct))
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
41
_prematureMergeNeeded = Child.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
System\Linq\Parallel\QueryOperators\Unary\IndexedSelectQueryOperator.cs (2)
64
if (ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct))
71
Debug.Assert(!ExchangeUtilities.
IsWorseThan
(indexState, OrdinalIndexState.Correct));
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
61
if (ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct))
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
42
_prematureMergeNeeded = Child.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (2)
86
_prematureMerge = ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct);
96
_prematureMerge = ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Increasing);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
71
if (indexState.
IsWorseThan
(OrdinalIndexState.Increasing))
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
98
if (indexState.
IsWorseThan
(requiredIndexState))
System\Linq\Parallel\Utils\Sorting.cs (1)
280
&& ordinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing))