public override void EndWrite(IAsyncResult asyncResult) { throw new InvalidOperationException(SR.net_readonlystream); }