2 references to IsValidTimeout
System.Threading.Tasks.Dataflow (2)
Base\DataflowBlock.cs (2)
878
if (!Common.
IsValidTimeout
(timeout)) throw new ArgumentOutOfRangeException(nameof(timeout), SR.ArgumentOutOfRange_NeedNonNegOrNegative1);
963
if (!Common.
IsValidTimeout
(timeout)) throw new ArgumentOutOfRangeException(nameof(timeout), SR.ArgumentOutOfRange_NeedNonNegOrNegative1);