11 references to InfiniteTimeout
System.IO.Ports (11)
System\IO\Ports\SerialPort.cs (8)
29
private const int DefaultReadTimeout =
InfiniteTimeout
;
30
private const int DefaultWriteTimeout =
InfiniteTimeout
;
434
if (value < 0 && value !=
InfiniteTimeout
)
532
if (value <= 0 && value !=
InfiniteTimeout
)
774
if (timeout ==
InfiniteTimeout
)
775
nextByte = _internalSerialStream.ReadByte(
InfiniteTimeout
);
876
} while (timeout ==
InfiniteTimeout
|| (timeout - GetElapsedTime(Environment.TickCount, startTicks) > 0));
1085
if (_readTimeout ==
InfiniteTimeout
)
System\IO\Ports\SerialStream.Unix.cs (3)
99
if (value < 0 && value != SerialPort.
InfiniteTimeout
)
113
if (value < 0 && value != SerialPort.
InfiniteTimeout
)
1068
return timeoutMs == SerialPort.
InfiniteTimeout
?