25 references to ParallelExecutionMode
netstandard (1)
netstandard.cs (1)
1040
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
ParallelExecutionMode
))]
System.Core (1)
System.Core.cs (1)
178
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
ParallelExecutionMode
))]
System.Linq.Parallel (23)
System\Linq\Parallel\QueryOperators\BinaryQueryOperator.cs (1)
108
if (_settings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && _op.LimitsParallelism)
System\Linq\Parallel\QueryOperators\QueryOperator.cs (2)
129
if (querySettings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && LimitsParallelism)
201
if (querySettings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && LimitsParallelism)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (5)
30
private
ParallelExecutionMode
? _executionMode;
59
internal
ParallelExecutionMode
? ExecutionMode
83
CancellationToken externalCancellationToken,
ParallelExecutionMode
? executionMode,
129
ParallelExecutionMode
? executionMode = this.ExecutionMode.HasValue ? this.ExecutionMode : settings2.ExecutionMode;
178
settings.ExecutionMode ??=
ParallelExecutionMode
.Default;
System\Linq\Parallel\QueryOperators\Unary\ElementAtQueryOperator.cs (1)
129
if (LimitsParallelism && SpecifiedQuerySettings.WithDefaults().ExecutionMode!.Value !=
ParallelExecutionMode
.ForceParallelism)
System\Linq\Parallel\QueryOperators\UnaryQueryOperator.cs (1)
113
if (_settings.ExecutionMode.Value ==
ParallelExecutionMode
.Default && _op.LimitsParallelism)
System\Linq\ParallelEnumerable.cs (13)
339
/// <seealso cref="System.Linq.
ParallelExecutionMode
"/> registered.</returns>
344
/// <paramref name="executionMode"/> is not a valid <see cref="System.Linq.
ParallelExecutionMode
"/> value.
349
public static ParallelQuery<TSource> WithExecutionMode<TSource>(this ParallelQuery<TSource> source,
ParallelExecutionMode
executionMode)
353
if (executionMode !=
ParallelExecutionMode
.Default && executionMode !=
ParallelExecutionMode
.ForceParallelism)
5406
if (queryOp.LimitsParallelism && settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5448
if (queryOp.LimitsParallelism && settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5489
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5534
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5583
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5625
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5667
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)
5708
&& settings.ExecutionMode !=
ParallelExecutionMode
.ForceParallelism)