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