21 references to Correct
System.Linq.Parallel (21)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (1)
56source is IList<T> ? OrdinalIndexState.Indexable : OrdinalIndexState.Correct)
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (1)
187partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\Inlined\InlinedAggregationOperator.cs (1)
125partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\PartitionerQueryOperator.cs (1)
88return OrdinalIndexState.Correct;
System\Linq\Parallel\QueryOperators\ScanQueryOperator.cs (1)
102: OrdinalIndexState.Correct;
System\Linq\Parallel\QueryOperators\Unary\AnyAllSearchOperator.cs (1)
110partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
87PartitionedStream<bool, int> outputStream = new PartitionedStream<bool, int>(partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\Unary\DefaultIfEmptyQueryOperator.cs (1)
42SetOrdinalIndexState(ExchangeUtilities.Worse(Child.OrdinalIndexState, OrdinalIndexState.Correct));
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (2)
45if (ExchangeUtilities.IsWorseThan(childIndexState, OrdinalIndexState.Correct)) 86partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (1)
88partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\Unary\IndexedSelectQueryOperator.cs (3)
64if (ExchangeUtilities.IsWorseThan(childIndexState, OrdinalIndexState.Correct)) 68indexState = OrdinalIndexState.Correct; 71Debug.Assert(!ExchangeUtilities.IsWorseThan(indexState, OrdinalIndexState.Correct));
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
61if (ExchangeUtilities.IsWorseThan(childIndexState, OrdinalIndexState.Correct))
System\Linq\Parallel\QueryOperators\Unary\SelectManyQueryOperator.cs (1)
86_prematureMerge = ExchangeUtilities.IsWorseThan(childIndexState, OrdinalIndexState.Correct);
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (2)
74indexState = OrdinalIndexState.Correct; 78if (!_take && indexState == OrdinalIndexState.Correct)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipWhileQueryOperator.cs (2)
93requiredIndexState = OrdinalIndexState.Correct; 97OrdinalIndexState indexState = ExchangeUtilities.Worse(childIndexState, OrdinalIndexState.Correct);
System\Linq\Parallel\Utils\ExchangeUtilities.cs (1)
53new PartitionedStream<T, int>(partitionCount, Util.GetDefaultComparer<int>(), OrdinalIndexState.Correct);