2 writes to _internalSerialStream
System.IO.Ports (2)
System\IO\Ports\SerialPort.cs (2)
601_internalSerialStream = null; 631_internalSerialStream = new SerialStream(_portName, _baudRate, _parity, _dataBits, _stopBits, _readTimeout,
58 references to _internalSerialStream
System.IO.Ports (58)
System\IO\Ports\SerialPort.cs (58)
84if (_internalSerialStream != null) 86_internalSerialStream.DataReceived += _dataReceivedHandler; 96if (_internalSerialStream != null) 98_internalSerialStream.DataReceived -= _dataReceivedHandler; 113if (_internalSerialStream != null) 115_internalSerialStream.PinChanged += _pinChangedHandler; 125if (_internalSerialStream != null) 127_internalSerialStream.PinChanged -= _pinChangedHandler; 148return _internalSerialStream; 161_internalSerialStream.BaudRate = value; 173return _internalSerialStream.BreakState; 180_internalSerialStream.BreakState = value; 191return _internalSerialStream.BytesToWrite; 202return _internalSerialStream.BytesToRead + CachedBytesToRead; // count the number of bytes we have in the internal buffer too. 220return _internalSerialStream.CDHolding; 230return _internalSerialStream.CtsHolding; 244_internalSerialStream.DataBits = value; 258_internalSerialStream.DiscardNull = value; 269return _internalSerialStream.DsrHolding; 278_dtrEnable = _internalSerialStream.DtrEnable; 285_internalSerialStream.DtrEnable = value; 333_internalSerialStream.Handshake = value; 341get { return (_internalSerialStream != null && _internalSerialStream.IsOpen); } 370_internalSerialStream.Parity = value; 381_internalSerialStream.ParityReplace = value; 438_internalSerialStream.ReadTimeout = value; 474_rtsEnable = _internalSerialStream.RtsEnable; 481_internalSerialStream.RtsEnable = value; 500_internalSerialStream.StopBits = value; 536_internalSerialStream.WriteTimeout = value; 597_internalSerialStream.DataReceived -= _dataReceivedHandler; 598_internalSerialStream.PinChanged -= _pinChangedHandler; 599_internalSerialStream.Flush(); 600_internalSerialStream.Close(); 611_internalSerialStream.DiscardInBuffer(); 619_internalSerialStream.DiscardOutBuffer(); 634_internalSerialStream.SetBufferSizes(_readBufferSize, _writeBufferSize); 636_internalSerialStream.ErrorReceived += new SerialErrorReceivedEventHandler(CatchErrorEvents); 640_internalSerialStream.PinChanged += _pinChangedHandler; 645_internalSerialStream.DataReceived += _dataReceivedHandler; 696bytesReadToBuffer += _internalSerialStream.Read(buffer, offset + bytesReadToBuffer, bytesLeftToRead); 754int bytesInStream = _internalSerialStream.BytesToRead; 758_readLen += _internalSerialStream.Read(_inBuffer, _readLen, bytesInStream); // read all immediately avail. 775nextByte = _internalSerialStream.ReadByte(InfiniteTimeout); 778nextByte = _internalSerialStream.ReadByte(timeout - timeUsed); 829int bytesInStream = _internalSerialStream.BytesToRead; 831_readLen += _internalSerialStream.Read(_inBuffer, _readLen, bytesInStream); // should execute instantaneously. 870_readLen += _internalSerialStream.Read(_inBuffer, _readLen, maxReadSize); 987return _internalSerialStream.ReadByte(); // otherwise, ask the stream. 1004_internalSerialStream.ReadExactly(bytesReceived, CachedBytesToRead, bytesReceived.Length - CachedBytesToRead); // get everything 1073int bytesInStream = _internalSerialStream.BytesToRead; 1076_readLen += _internalSerialStream.Read(_inBuffer, _readLen, bytesInStream); 1185_internalSerialStream.Write(bytesToWrite, 0, bytesToWrite.Length, _writeTimeout); 1224_internalSerialStream.Write(buffer, offset, count, _writeTimeout); 1239SerialStream stream = _internalSerialStream; 1254SerialStream stream = _internalSerialStream; 1269SerialStream stream = _internalSerialStream;