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