3 references to MAX_SUPPORTED_DOP
System.Linq.Parallel (3)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
187
Debug.Assert(settings.DegreeOfParallelism.Value >= 1 && settings.DegreeOfParallelism <= Scheduling.
MAX_SUPPORTED_DOP
);
System\Linq\Parallel\Scheduling\Scheduling.cs (1)
34
internal static readonly int DefaultDegreeOfParallelism = Math.Min(Environment.ProcessorCount,
MAX_SUPPORTED_DOP
);
System\Linq\ParallelEnumerable.cs (1)
298
ArgumentOutOfRangeException.ThrowIfGreaterThan(degreeOfParallelism, Scheduling.
MAX_SUPPORTED_DOP
);