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