7 references to EffectiveMaxConcurrencyLevel
System.Threading.Tasks.Parallel (7)
System\Threading\Tasks\Parallel.cs (2)
949int numExpectedWorkers = (parallelOptions.EffectiveMaxConcurrencyLevel == -1) ? 951parallelOptions.EffectiveMaxConcurrencyLevel;
System\Threading\Tasks\Parallel.ForEachAsync.cs (3)
64return ForAsync(fromInclusive, toExclusive, parallelOptions.EffectiveMaxConcurrencyLevel, parallelOptions.EffectiveTaskScheduler, parallelOptions.CancellationToken, body); 259return ForEachAsync(source, parallelOptions.EffectiveMaxConcurrencyLevel, parallelOptions.EffectiveTaskScheduler, parallelOptions.CancellationToken, body); 414return ForEachAsync(source, parallelOptions.EffectiveMaxConcurrencyLevel, parallelOptions.EffectiveTaskScheduler, parallelOptions.CancellationToken, body);
System\Threading\Tasks\TaskReplicator.cs (2)
148int maxConcurrencyLevel = (options.EffectiveMaxConcurrencyLevel > 0) ? options.EffectiveMaxConcurrencyLevel : int.MaxValue;