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