public void DisposeDoesNotThrowIfUnflushedData() { var streamPipeWriter = new StreamPipeWriter(new MemoryStream()); streamPipeWriter.Write(new byte[1]); streamPipeWriter.Dispose(); }