2 writes to _parent
System.Net.Mail (2)
System\Net\Mail\SmtpReplyReaderFactory.cs (2)
373
_parent
= parent;
379
_parent
= parent;
20 references to _parent
System.Net.Mail (20)
System\Net\Mail\SmtpReplyReaderFactory.cs (20)
386
if (
_parent
._currentReader != caller ||
_parent
._readState == ReadState.Done)
392
_parent
._byteBuffer ??= new byte[SmtpReplyReaderFactory.DefaultBufferSize];
394
System.Diagnostics.Debug.Assert(
_parent
._readState == ReadState.Status0);
413
IAsyncResult result =
_parent
._bufferedStream.BeginRead(
_parent
._byteBuffer!, 0,
_parent
._byteBuffer!.Length, s_readCallback, this);
418
_read =
_parent
._bufferedStream.EndRead(result);
430
thisPtr._read = thisPtr.
_parent
._bufferedStream.EndRead(result);
457
int actual =
_parent
.ProcessRead(
_parent
._byteBuffer!, start, _read - start, true);
471
_builder!.Append(Encoding.UTF8.GetString(
_parent
._byteBuffer!, start, actual));
474
if (
_parent
._readState == ReadState.Status0)
476
_lines!.Add(new LineInfo(
_parent
._statusCode, _builder.ToString(0, _builder.Length - 2))); // return everything except CRLF
482
_parent
._bufferedStream.Push(
_parent
._byteBuffer!, start, _read - start);
487
else if (
_parent
._readState == ReadState.Done)
489
_lines!.Add(new LineInfo(
_parent
._statusCode, _builder.ToString(0, _builder.Length - 2))); // return everything except CRLF
490
_parent
._bufferedStream.Push(
_parent
._byteBuffer!, start, _read - start);