diff --git a/src/SharpCompress/IO/SeekableSharpCompressStream.cs b/src/SharpCompress/IO/SeekableSharpCompressStream.cs
index 5a66cbfb..2f94b641 100644
--- a/src/SharpCompress/IO/SeekableSharpCompressStream.cs
+++ b/src/SharpCompress/IO/SeekableSharpCompressStream.cs
@@ -14,13 +14,13 @@ internal sealed partial class SeekableSharpCompressStream : SharpCompressStream
///
/// Gets or sets whether to leave the underlying stream open when disposed.
///
- public new bool LeaveStreamOpen { get; set; }
+ public override bool LeaveStreamOpen { get; }
///
/// Gets or sets whether to throw an exception when Dispose is called.
/// Useful for testing to ensure streams are not disposed prematurely.
///
- public new bool ThrowOnDispose { get; set; }
+ public override bool ThrowOnDispose { get; set; }
public SeekableSharpCompressStream(Stream stream)
: base(Null, true, false, null)
diff --git a/src/SharpCompress/IO/SharpCompressStream.cs b/src/SharpCompress/IO/SharpCompressStream.cs
index 8c16fa4b..bcc36318 100644
--- a/src/SharpCompress/IO/SharpCompressStream.cs
+++ b/src/SharpCompress/IO/SharpCompressStream.cs
@@ -32,13 +32,13 @@ internal partial class SharpCompressStream : Stream, IStreamStack
///
/// Gets or sets whether to leave the underlying stream open when disposed.
///
- public bool LeaveStreamOpen { get; }
+ public virtual bool LeaveStreamOpen { get; }
///
/// Gets or sets whether to throw an exception when Dispose is called.
/// Useful for testing to ensure streams are not disposed prematurely.
///
- public bool ThrowOnDispose { get; set; }
+ public virtual bool ThrowOnDispose { get; set; }
public SharpCompressStream(Stream stream)
{