Skip to content

Commit

Permalink
Merge pull request #893 from drewnoakes/remove-conditional-symbols
Browse files Browse the repository at this point in the history
Remove references to NETCOREAPP1_0
  • Loading branch information
somdoron authored May 27, 2020
2 parents 4e5a8ff + ef8cb03 commit beea615
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/NetMQ.Tests/ExceptionTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#nullable disable

#if !NETCOREAPP1_0

using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Xunit;
@@ -130,5 +128,3 @@ private static T Deserialise<T>(Stream stream)
#endregion
}
}

#endif
4 changes: 0 additions & 4 deletions src/NetMQ.Tests/PgmTests.cs
Original file line number Diff line number Diff line change
@@ -80,11 +80,7 @@ public void ConnectBothSockets()
[Fact(Skip = "Requires MSMQ for PGM sockets")]
public void UseInterface()
{
#if NETCOREAPP1_0
var hostEntry = Dns.GetHostEntryAsync(Dns.GetHostName()).Result;
#else
var hostEntry = Dns.GetHostEntry(Dns.GetHostName());
#endif

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

0 comments on commit beea615

Please sign in to comment.