We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf1482c commit 90900f7Copy full SHA for 90900f7
src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.cs
@@ -229,7 +229,7 @@ public async Task Connect_DatagramSockets_DontThrowConnectedException_OnSecondAt
229
await ConnectAsync(s, new IPEndPoint(listenAt, ((IPEndPoint)listener.LocalEndPoint).Port));
230
Assert.True(s.Connected);
231
// According to the OSX man page, it's enough connecting to an invalid address to dissolve the connection. (0 port connection returns error on OSX)
232
- await ConnectAsync(s, new IPEndPoint(secondConnection, PlatformDetection.IsOSX ? 1 : 0));
+ await ConnectAsync(s, new IPEndPoint(secondConnection, PlatformDetection.IsOSXLike ? 1 : 0));
233
234
}
235
0 commit comments