Remove dead code from System.Net.NetworkInformation (dotnet/corefx#24800)
authorStano Peťko <stano@stanopetko.eu>
Mon, 23 Oct 2017 12:46:18 +0000 (14:46 +0200)
committerStephen Toub <stoub@microsoft.com>
Mon, 23 Oct 2017 12:46:18 +0000 (08:46 -0400)
* Deleted dead code from System.Net.NetworkInformation.

* Returned back constructors, used in other platforms.

* Removed unused strings.

* Returned back strings used in other platforms.

Commit migrated from https://github.com/dotnet/corefx/commit/71188fac3f15e09bc156e92715d5995fd100906d

src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/NetworkAddressChange.Windows.cs

index ab70bfa..516333b 100644 (file)
@@ -40,14 +40,6 @@ namespace System.Net.NetworkInformation
             }
         }
 
-        internal static bool CanListenForNetworkChanges
-        {
-            get
-            {
-                return true;
-            }
-        }
-
         internal static class AvailabilityChangeListener
         {
             private static readonly object s_syncObject = new object();