22 references to ParallelExecutionMode
System.Core (22)
System\Linq\Parallel\QueryOperators\BinaryQueryOperator.cs (1)
111
if (m_settings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && m_op.LimitsParallelism)
System\Linq\Parallel\QueryOperators\QueryOperator.cs (2)
133
if (querySettings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && LimitsParallelism)
208
if (querySettings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && LimitsParallelism)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (5)
37
private
ParallelExecutionMode
? m_executionMode;
66
internal
ParallelExecutionMode
? ExecutionMode
90
CancellationToken externalCancellationToken,
ParallelExecutionMode
? executionMode,
136
ParallelExecutionMode
? executionMode = this.ExecutionMode.HasValue ? this.ExecutionMode : settings2.ExecutionMode;
196
settings.ExecutionMode =
ParallelExecutionMode
.Default;
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
132
if (LimitsParallelism && SpecifiedQuerySettings.WithDefaults().ExecutionMode.Value !=
ParallelExecutionMode
.ForceParallelism)
System\Linq\Parallel\QueryOperators\UnaryQueryOperator.cs (1)
117
if (m_settings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && m_op.LimitsParallelism)
System\Linq\ParallelEnumerable.cs (12)
398
/// <seealso cref="System.Linq.
ParallelExecutionMode
"/> registered.</returns>
408
public static ParallelQuery<TSource> WithExecutionMode<TSource>(this ParallelQuery<TSource> source,
ParallelExecutionMode
executionMode)
411
if (executionMode !=
ParallelExecutionMode
.Default && executionMode !=
ParallelExecutionMode
.ForceParallelism)
5453
if (queryOp.LimitsParallelism && settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5495
if (queryOp.LimitsParallelism && settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5537
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5582
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5631
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5673
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5715
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5756
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)