Issue 771, remove throw on flush for readonly streams

This commit is contained in:
Lars Vahlenberg
2024-01-06 00:14:34 +01:00
parent 741712f89f
commit 4477833b1d
16 changed files with 25 additions and 28 deletions

View File

@@ -29,7 +29,7 @@ internal class ReadOnlySubStream : NonDisposingStream
public override bool CanWrite => false;
public override void Flush() => throw new NotSupportedException();
public override void Flush() { }
public override long Length => throw new NotSupportedException();