2 writes to ExecutionMode
System.Core (2)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
196
settings.
ExecutionMode
= ParallelExecutionMode.Default;
System\Linq\ParallelEnumerable.cs (1)
417
settings.
ExecutionMode
= executionMode;
22 references to ExecutionMode
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 (3)
133
if (querySettings.
ExecutionMode
.Value == ParallelExecutionMode.Default && LimitsParallelism)
188
Contract.Assert(querySettings.
ExecutionMode
.HasValue);
208
if (querySettings.
ExecutionMode
.Value == ParallelExecutionMode.Default && LimitsParallelism)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (8)
123
if (this.
ExecutionMode
!= null && settings2.
ExecutionMode
!= null)
136
ParallelExecutionMode? executionMode = this.
ExecutionMode
.HasValue ? this.
ExecutionMode
: settings2.
ExecutionMode
;
154
QuerySettings settings = new QuerySettings(TaskScheduler, DegreeOfParallelism, CancellationState.ExternalCancellationToken,
ExecutionMode
, MergeOptions);
194
if (settings.
ExecutionMode
== null)
212
Contract.Assert(settings.
ExecutionMode
!= null);
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 (8)
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)