18 references to Indexable
System.Linq.Parallel (18)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (1)
56source is IList<T> ? OrdinalIndexState.Indexable : OrdinalIndexState.Correct)
System\Linq\Parallel\QueryOperators\Binary\ConcatQueryOperator.cs (3)
49if ((LeftChild.OrdinalIndexState == OrdinalIndexState.Indexable) 50&& (RightChild.OrdinalIndexState == OrdinalIndexState.Indexable)) 52SetOrdinalIndex(OrdinalIndexState.Indexable);
System\Linq\Parallel\QueryOperators\Binary\ZipQueryOperator.cs (3)
70_prematureMergeLeft = leftIndexState != OrdinalIndexState.Indexable; 71_prematureMergeRight = rightIndexState != OrdinalIndexState.Indexable; 140return OrdinalIndexState.Indexable;
System\Linq\Parallel\QueryOperators\BinaryQueryOperator.cs (1)
105Debug.Assert(IsIndexible == (_op.OrdinalIndexState == OrdinalIndexState.Indexable));
System\Linq\Parallel\QueryOperators\ScanQueryOperator.cs (1)
101? OrdinalIndexState.Indexable
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
75Debug.Assert(intKeyStream.OrdinalIndexState == OrdinalIndexState.Indexable);
System\Linq\Parallel\QueryOperators\Unary\ReverseQueryOperator.cs (3)
43if (Child.OrdinalIndexState == OrdinalIndexState.Indexable) 45SetOrdinalIndexState(OrdinalIndexState.Indexable); 56Debug.Assert(Child.OrdinalIndexState != OrdinalIndexState.Indexable, "Don't take this code path if the child is indexable.");
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (3)
66if (indexState == OrdinalIndexState.Indexable) 68return OrdinalIndexState.Indexable; 89Debug.Assert(Child.OrdinalIndexState != OrdinalIndexState.Indexable, "Don't take this code path if the child is indexable.");
System\Linq\Parallel\QueryOperators\UnaryQueryOperator.cs (1)
110Debug.Assert(IsIndexible == (_op.OrdinalIndexState == OrdinalIndexState.Indexable));
System\Linq\ParallelEnumerable.cs (1)
4858if (asOperator.OrdinalIndexState == OrdinalIndexState.Indexable && asOperator.OutputOrdered)