2 writes to parent
System (2)
net\System\Net\mail\SmtpReplyReaderFactory.cs (2)
380this.parent = parent; 386this.parent = parent;
21 references to parent
System (21)
net\System\Net\mail\SmtpReplyReaderFactory.cs (21)
393if (parent.currentReader != caller || parent.readState == ReadState.Done) 399if (parent.byteBuffer == null) 401parent.byteBuffer = new byte[SmtpReplyReaderFactory.DefaultBufferSize]; 404System.Diagnostics.Debug.Assert(parent.readState == ReadState.Status0); 423IAsyncResult result = parent.bufferedStream.BeginRead(parent.byteBuffer, 0, parent.byteBuffer.Length, readCallback, this); 428read = parent.bufferedStream.EndRead(result); 440thisPtr.read = thisPtr.parent.bufferedStream.EndRead(result); 465int actual = parent.ProcessRead(parent.byteBuffer, start, read - start, true); 479builder.Append(Encoding.UTF8.GetString(parent.byteBuffer, start, actual)); 482if (parent.readState == ReadState.Status0) 484lines.Add(new LineInfo(parent.statusCode, builder.ToString(0, builder.Length - 2))); // return everything except CRLF 489parent.bufferedStream.Push(parent.byteBuffer, start, read - start); 494else if (parent.readState == ReadState.Done) 496lines.Add(new LineInfo(parent.statusCode, builder.ToString(0, builder.Length - 2))); // return everything except CRLF 497parent.bufferedStream.Push(parent.byteBuffer, start, read - start);