Skip to content

Commit ef8cb03

Browse files
committed
Remove references to NETCOREAPP1_0
1 parent 7ae9632 commit ef8cb03

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/NetMQ.Tests/ExceptionTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#nullable disable
22

3-
#if !NETCOREAPP1_0
4-
53
using System.IO;
64
using System.Runtime.Serialization.Formatters.Binary;
75
using Xunit;
@@ -130,5 +128,3 @@ private static T Deserialise<T>(Stream stream)
130128
#endregion
131129
}
132130
}
133-
134-
#endif

src/NetMQ.Tests/PgmTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ public void ConnectBothSockets()
8080
[Fact(Skip = "Requires MSMQ for PGM sockets")]
8181
public void UseInterface()
8282
{
83-
#if NETCOREAPP1_0
84-
var hostEntry = Dns.GetHostEntryAsync(Dns.GetHostName()).Result;
85-
#else
8683
var hostEntry = Dns.GetHostEntry(Dns.GetHostName());
87-
#endif
8884

8985
string ip = hostEntry.AddressList
9086
.Where(addr => addr.AddressFamily == AddressFamily.InterNetwork)

0 commit comments

Comments
 (0)