Пример #1
0
        public void DisposeDoesNotThrowIfUnflushedData()
        {
            var streamPipeWriter = new StreamPipeWriter(new MemoryStream());

            streamPipeWriter.Write(new byte[1]);

            streamPipeWriter.Dispose();
        }