11 references to MaxSupportedTimeout
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (2)
163if (totalMilliseconds < -1 || totalMilliseconds > Timer.MaxSupportedTimeout) 380if (totalMilliseconds < -1 || totalMilliseconds > Timer.MaxSupportedTimeout)
src\libraries\System.Private.CoreLib\src\System\Threading\PeriodicTimer.cs (1)
113if ((ms >= 1 && ms <= Timer.MaxSupportedTimeout) || value == Timeout.InfiniteTimeSpan)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
5848if (totalMilliseconds < -1 || totalMilliseconds > Timer.MaxSupportedTimeout)
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (7)
491ArgumentOutOfRangeException.ThrowIfGreaterThan(tm, Timer.MaxSupportedTimeout, parameter); 849ArgumentOutOfRangeException.ThrowIfGreaterThan(dueTm, MaxSupportedTimeout, nameof(dueTime)); 853ArgumentOutOfRangeException.ThrowIfGreaterThan(periodTm, MaxSupportedTimeout, nameof(period)); 874ArgumentOutOfRangeException.ThrowIfGreaterThan(dueTime, MaxSupportedTimeout); 875ArgumentOutOfRangeException.ThrowIfGreaterThan(period, MaxSupportedTimeout); 923ArgumentOutOfRangeException.ThrowIfGreaterThan(dueTime, MaxSupportedTimeout); 924ArgumentOutOfRangeException.ThrowIfGreaterThan(period, MaxSupportedTimeout);