From 3689b893dba6b009dae24917b6e22f72e6cd4c4a Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Wed, 11 Feb 2026 14:00:37 +0000 Subject: [PATCH] Update tests/SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com> --- .../SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs b/tests/SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs index 981967d6..80bda877 100644 --- a/tests/SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs +++ b/tests/SharpCompress.Performance/Benchmarks/SevenZipBenchmarks.cs @@ -36,7 +36,7 @@ public class SevenZipBenchmarks : ArchiveBenchmarkBase public async Task SevenZipLzmaExtractAsync() { using var stream = new MemoryStream(_lzmaBytes); - using var archive = SevenZipArchive.OpenArchive(stream); + await using var archive = SevenZipArchive.OpenAsyncArchive(stream); foreach (var entry in archive.Entries.Where(e => !e.IsDirectory)) { using var entryStream = await entry.OpenEntryStreamAsync().ConfigureAwait(false);