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