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

@@ -45,6 +45,7 @@ public class SharpCompressStreamErrorAsyncTest
}
}
#if !LEGACY_DOTNET
[Fact]
public async ValueTask DisposeAsync_WithThrowOnDisposeTrue_ThrowsInvalidOperation()
{
@@ -57,6 +58,7 @@ public class SharpCompressStreamErrorAsyncTest
)
.ConfigureAwait(false);
}
#endif
[Fact]
public async ValueTask CreateNonDisposing_ReadAsync_ZeroCount_ReturnsZero()