public override void EndWrite(IAsyncResult asyncResult) => TaskToApm.End(asyncResult); #endif
public override void EndWrite(IAsyncResult asyncResult) { if (deflateStream == null) { throw new InvalidOperationException(SR.GetString(SR.ObjectDisposed_StreamClosed)); } deflateStream.EndWrite(asyncResult); }