2 writes to _singleCharBuffer
System.IO.Ports (2)
System\IO\Ports\SerialPort.cs (2)
317_singleCharBuffer = null; 1079_singleCharBuffer ??= new char[_maxByteCountForSingleChar];
5 references to _singleCharBuffer
System.IO.Ports (5)
System\IO\Ports\SerialPort.cs (5)
1087numCharsRead = InternalRead(_singleCharBuffer, 0, 1, _readTimeout, true); 1092numCharsRead = InternalRead(_singleCharBuffer, 0, 1, _readTimeout - timeUsed, true); 1102Debug.Assert((char.IsSurrogate(_singleCharBuffer[i])), "number of chars read should be more than one only for surrogate characters!"); 1106currentLine.Append(_singleCharBuffer, 0, numCharsRead); 1108if (lastValueChar == (char)_singleCharBuffer[numCharsRead - 1] && (currentLine.Length >= value.Length))