public override int EndRead(IAsyncResult asyncResult) { throw new InvalidOperationException(SR.net_writeonlystream); }