diff --git a/src/NetMQ.Tests/ClientServer.cs b/src/NetMQ.Tests/ClientServer.cs index 33aa590a..a1bebeb2 100644 --- a/src/NetMQ.Tests/ClientServer.cs +++ b/src/NetMQ.Tests/ClientServer.cs @@ -82,7 +82,6 @@ public async Task AsyncWithCancellationToken() await Assert.ThrowsAnyAsync(async () => await server.ReceiveStringAsync(source.Token)); } -#if NETSTANDARD || NET [Fact(Timeout = 120)] public async Task AsyncEnumerableCanceled() { @@ -155,6 +154,6 @@ public async Task AsyncEnumerable() Assert.Equal(15002, totalCount); } -#endif + } } \ No newline at end of file diff --git a/src/NetMQ/NetMQ.csproj b/src/NetMQ/NetMQ.csproj index e6f95fa7..3d6a2780 100644 --- a/src/NetMQ/NetMQ.csproj +++ b/src/NetMQ/NetMQ.csproj @@ -45,9 +45,11 @@ + + diff --git a/src/NetMQ/RoutingIdSocketExtensions.cs b/src/NetMQ/RoutingIdSocketExtensions.cs index 53833646..54266404 100644 --- a/src/NetMQ/RoutingIdSocketExtensions.cs +++ b/src/NetMQ/RoutingIdSocketExtensions.cs @@ -564,7 +564,6 @@ public static bool TryReceiveString(this IRoutingIdSocket socket, TimeSpan timeo #region AsyncEnumerable -#if NETSTANDARD || NET /// /// Provides a consuming IAsyncEnumerable for receiving messages from the socket. @@ -583,7 +582,6 @@ public static bool TryReceiveString(this IRoutingIdSocket socket, TimeSpan timeo } } -#endif #endregion