net\System\Net\webclient.cs (9)
1131ReadStream.BeginRead(InnerBuffer, Offset, (int)Length-Offset, new AsyncCallback(DownloadBitsReadCallback), this);
1136return ReadStream.Read(InnerBuffer, Offset, (int)Length-Offset);
1152if (Offset != ContentLength) {
1155ReadStream.BeginRead(InnerBuffer, Offset, (int)Length-Offset, new AsyncCallback(DownloadBitsReadCallback), this);
1157bytesRetrieved = ReadStream.Read(InnerBuffer, Offset, (int)Length-Offset);