add compiler flags

This commit is contained in:
Adam Hathcock
2026-02-13 12:46:48 +00:00
parent 76352df852
commit 7cef629a06
3 changed files with 11 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ public class SharpCompressStreamPassthroughAsyncTest
Assert.Equal(3, ms.Length);
}
#if !LEGACY_DOTNET
[Fact]
public async ValueTask CreateNonDisposing_DoesNotDisposeUnderlying_Async()
{
@@ -105,4 +106,5 @@ public class SharpCompressStreamPassthroughAsyncTest
)
.ConfigureAwait(false);
}
#endif
}