public override void EndWrite(IAsyncResult asyncResult) { if (deflateStream == null) { throw new InvalidOperationException(SR.GetString(SR.ObjectDisposed_StreamClosed)); } deflateStream.EndWrite(asyncResult); }
public override void EndWrite(IAsyncResult async_result) { if (deflateStream == null) { throw new ObjectDisposedException(GetType().FullName); } deflateStream.EndWrite(async_result); }
public override void EndWrite(IAsyncResult asyncResult) => _deflateStream.EndWrite(asyncResult);