Incorrect warning message on thread pool startup in full AOT:ed Windows build.
[mono.git] / mcs / class / System / System.Net.NetworkInformation / GatewayIPAddressInformationCollection.cs
index 058c337c4af1a012e427a1f143a72d33c7163f97..14767dd782b42e4a10bc6315ded535f930af7bcc 100644 (file)
@@ -92,6 +92,7 @@ namespace System.Net.NetworkInformation {
                }
        }
 
+#if !MOBILE
        class Win32GatewayIPAddressInformationCollection : GatewayIPAddressInformationCollection
        {
                public static readonly Win32GatewayIPAddressInformationCollection Empty = new Win32GatewayIPAddressInformationCollection (true);
@@ -127,19 +128,20 @@ namespace System.Net.NetworkInformation {
                        get { return is_readonly; }
                }
        }
+#endif
 
-       class LinuxGatewayIPAddressInformationCollection : GatewayIPAddressInformationCollection
+       class UnixGatewayIPAddressInformationCollection : GatewayIPAddressInformationCollection
        {
-               public static readonly LinuxGatewayIPAddressInformationCollection Empty = new LinuxGatewayIPAddressInformationCollection (true);
+               public static readonly UnixGatewayIPAddressInformationCollection Empty = new UnixGatewayIPAddressInformationCollection (true);
 
                bool is_readonly;
 
-               private LinuxGatewayIPAddressInformationCollection (bool isReadOnly)
+               private UnixGatewayIPAddressInformationCollection (bool isReadOnly)
                {
                        this.is_readonly = isReadOnly;
                }
 
-               public LinuxGatewayIPAddressInformationCollection (IPAddressCollection col)
+               public UnixGatewayIPAddressInformationCollection (IPAddressCollection col)
                {
                        foreach (IPAddress a in col)
                                Add (new GatewayIPAddressInformationImpl (a));