1 write to _sb
System.Diagnostics.Process (1)
System\Diagnostics\AsyncStreamReader.cs (1)
74
_sb
= new StringBuilder(DefaultBufferSize);
13 references to _sb
System.Diagnostics.Process (13)
System\Diagnostics\AsyncStreamReader.cs (13)
72
if (
_sb
== null)
102
_sb
!.Append(_charBuffer, 0, charLen);
132
if (
_sb
!.Length != 0)
134
_messageQueue.Enqueue(
_sb
.ToString());
135
_sb
.Length = 0;
153
int len =
_sb
!.Length;
157
if (_bLastCarriageReturn && (len > 0) &&
_sb
[0] == '\n')
166
char ch =
_sb
[currentIndex];
171
string line =
_sb
.ToString(lineStart, currentIndex - lineStart);
174
if ((ch == '\r') && (lineStart < len) && (
_sb
[lineStart] == '\n'))
187
if ((len > 0) &&
_sb
[len - 1] == '\r')
202
_sb
.Remove(0, lineStart);
208
_sb
.Length = 0;