2 references to IfOutOfRange
Microsoft.Extensions.TimeProvider.Testing (2)
Timer.cs (2)
36
_ = Throw.
IfOutOfRange
(dueTimeMs, -1, MaxSupportedTimeout, nameof(dueTime));
37
_ = Throw.
IfOutOfRange
(periodMs, -1, MaxSupportedTimeout, nameof(period));