Use STREAM_DISPOSEASYNC capability guards for stream disposal

This commit is contained in:
Adam Hathcock
2026-10-13 12:41:38 +01:00
parent d431c80b38
commit 3bbe0cc93f
41 changed files with 70 additions and 65 deletions

View File

@@ -9,7 +9,7 @@ namespace SharpCompress.Test.Streams;
public class SharpCompressStreamEdgeAsyncTest
{
#if !LEGACY_DOTNET
#if STREAM_DISPOSEASYNC
[Fact]
public async ValueTask DisposeAsync_WithLeaveStreamOpenTrue_DoesNotDisposeUnderlying()