11 references to MaxSupportedTimeout
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (2)
163
if (totalMilliseconds < -1 || totalMilliseconds > Timer.
MaxSupportedTimeout
)
380
if (totalMilliseconds < -1 || totalMilliseconds > Timer.
MaxSupportedTimeout
)
src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (1)
113
if ((ms >= 1 && ms <= Timer.
MaxSupportedTimeout
) || value == Timeout.InfiniteTimeSpan)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
5782
if (totalMilliseconds < -1 || totalMilliseconds > Timer.
MaxSupportedTimeout
)
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (7)
500
ArgumentOutOfRangeException.ThrowIfGreaterThan(tm, Timer.
MaxSupportedTimeout
, parameter);
858
ArgumentOutOfRangeException.ThrowIfGreaterThan(dueTm,
MaxSupportedTimeout
, nameof(dueTime));
862
ArgumentOutOfRangeException.ThrowIfGreaterThan(periodTm,
MaxSupportedTimeout
, nameof(period));
883
ArgumentOutOfRangeException.ThrowIfGreaterThan(dueTime,
MaxSupportedTimeout
);
884
ArgumentOutOfRangeException.ThrowIfGreaterThan(period,
MaxSupportedTimeout
);
932
ArgumentOutOfRangeException.ThrowIfGreaterThan(dueTime,
MaxSupportedTimeout
);
933
ArgumentOutOfRangeException.ThrowIfGreaterThan(period,
MaxSupportedTimeout
);