16 references to IsWorseThan
System.Core (16)
System\Linq\Parallel\Merging\MergeExecutor.cs (1)
65
if (options != ParallelMergeOptions.FullyBuffered && !partitions.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing))
System\Linq\Parallel\QueryOperators\Unary\ConcatQueryOperator.cs (4)
50
m_prematureMergeLeft = LeftChild.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
51
m_prematureMergeRight = RightChild.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
94
Contract.Assert(!ExchangeUtilities.
IsWorseThan
(leftStream.OrdinalIndexState, OrdinalIndexState.Increasing));
113
Contract.Assert(!ExchangeUtilities.
IsWorseThan
(rightStream.OrdinalIndexState, OrdinalIndexState.Increasing));
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
49
if (ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct))
System\Linq\Parallel\QueryOperators\Unary\FirstQueryOperator.cs (1)
45
m_prematureMergeNeeded = Child.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
System\Linq\Parallel\QueryOperators\Unary\IndexedSelectQueryOperator.cs (2)
68
if (ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct))
75
Contract.Assert(!ExchangeUtilities.
IsWorseThan
(indexState, OrdinalIndexState.Correct));
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
65
if (ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct))
System\Linq\Parallel\QueryOperators\Unary\LastQueryOperator.cs (1)
46
m_prematureMergeNeeded = Child.OrdinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing);
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (2)
90
m_prematureMerge = ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Correct);
100
m_prematureMerge = ExchangeUtilities.
IsWorseThan
(childIndexState, OrdinalIndexState.Increasing);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
75
if (indexState.
IsWorseThan
(OrdinalIndexState.Increasing))
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (1)
102
if (indexState.
IsWorseThan
(requiredIndexState))
System\Linq\Parallel\Utils\Sorting.cs (1)
288
&& ordinalIndexState.
IsWorseThan
(OrdinalIndexState.Increasing))