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

@@ -84,7 +84,7 @@ public class SharpCompressStreamPassthroughAsyncTest
Assert.Equal(3, ms.Length);
}
#if !LEGACY_DOTNET
#if STREAM_DISPOSEASYNC
[Fact]
public async ValueTask CreateNonDisposing_DoesNotDisposeUnderlying_Async()
{