File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 1
1
#nullable disable
2
2
3
- #if ! NETCOREAPP1_0
4
-
5
3
using System . IO ;
6
4
using System . Runtime . Serialization . Formatters . Binary ;
7
5
using Xunit ;
@@ -130,5 +128,3 @@ private static T Deserialise<T>(Stream stream)
130
128
#endregion
131
129
}
132
130
}
133
-
134
- #endif
Original file line number Diff line number Diff line change @@ -80,11 +80,7 @@ public void ConnectBothSockets()
80
80
[ Fact ( Skip = "Requires MSMQ for PGM sockets" ) ]
81
81
public void UseInterface ( )
82
82
{
83
- #if NETCOREAPP1_0
84
- var hostEntry = Dns . GetHostEntryAsync ( Dns . GetHostName ( ) ) . Result ;
85
- #else
86
83
var hostEntry = Dns . GetHostEntry ( Dns . GetHostName ( ) ) ;
87
- #endif
88
84
89
85
string ip = hostEntry . AddressList
90
86
. Where ( addr => addr . AddressFamily == AddressFamily . InterNetwork )
You can’t perform that action at this time.
0 commit comments