3 references to BytesToRead
System.IO.Ports (3)
System\IO\Ports\SerialPort.cs (3)
648if (BytesToRead == 0) 958byte[] bytesReceived = new byte[BytesToRead]; 1246raiseEvent = stream.IsOpen && (SerialData.Eof == e.EventType || BytesToRead >= _receivedBytesThreshold);