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