* WASM Re-enable Threading.Channels serialization tests
* PR Feedback
* Use ConditionalFact
public static bool IsNotWindows => !IsWindows;
public static bool IsThreadingSupported => !IsBrowser;
+ public static bool IsBinaryFormatterSupported => !IsBrowser;
+
// Please make sure that you have the libgdiplus dependency installed.
// For details, see https://docs.microsoft.com/dotnet/core/install/dependencies?pivots=os-macos&tabs=netcore31#libgdiplus
public static bool IsDrawingSupported
{
public partial class ChannelClosedExceptionTests
{
- [Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/37648", TestPlatforms.Browser)]
+ [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsBinaryFormatterSupported))]
public void Serialization_Roundtrip()
{
var s = new MemoryStream();