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 7b11416 commit 382ccf0Copy full SHA for 382ccf0
src/benchmarks/micro/libraries/System.Net.NetworkInformation/NetworkInterfaceTests.cs
@@ -15,6 +15,12 @@ public class NetworkInterfaceTests
15
public NetworkInterface[] GetAllNetworkInterfaces() => NetworkInterface.GetAllNetworkInterfaces();
16
17
[Benchmark]
18
+ #if NET5_0_OR_GREATER
19
+ [System.Runtime.Versioning.UnsupportedOSPlatform("osx")]
20
+ [System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
21
+ [System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
22
+ [System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")]
23
+ #endif
24
public void GetAllNetworkInterfacesProperties()
25
{
26
foreach (NetworkInterface ni in NetworkInterface.GetAllNetworkInterfaces())
0 commit comments