enable zip64 tests that pass

This commit is contained in:
Adam Hathcock
2025-10-28 11:07:53 +00:00
parent 19967f5ad7
commit 42f7d43139
4 changed files with 13 additions and 16 deletions

View File

@@ -2,7 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using System.IO;
@@ -65,7 +64,7 @@ public sealed class Deflate64Stream : Stream, IStreamStack
throw new ArgumentException("Deflate64: input stream is not readable", nameof(stream));
}
_inflater = new InflaterManaged( true);
_inflater = new InflaterManaged(true);
_stream = stream;
_buffer = new byte[DEFAULT_BUFFER_SIZE];
@@ -74,7 +73,6 @@ public sealed class Deflate64Stream : Stream, IStreamStack
#endif
}
public override bool CanRead => _stream.CanRead;
public override bool CanWrite => false;
@@ -180,9 +178,6 @@ public sealed class Deflate64Stream : Stream, IStreamStack
private static void ThrowStreamClosedException() =>
throw new ObjectDisposedException(null, "Deflate64: stream has been disposed");
[MethodImpl(MethodImplOptions.NoInlining)]
private static void ThrowCannotWriteToDeflateManagedStreamException() =>
throw new InvalidOperationException("Deflate64: cannot write to this stream");
@@ -229,7 +224,6 @@ public sealed class Deflate64Stream : Stream, IStreamStack
}
finally
{
try
{
_inflater.Dispose();