Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@ -101,7 +101,7 @@ namespace System.Net.NetworkInformation {
static void MaybeCreate ()
{
#if MONOTOUCH_WATCH
#if MONOTOUCH_WATCH || ORBIS
throw new PlatformNotSupportedException ("NetworkInformation.NetworkChange is not supported on the current platform.");
#else
if (networkChange != null)
@ -126,7 +126,7 @@ namespace System.Net.NetworkInformation {
}
}
#if !MONOTOUCH_WATCH
#if !MONOTOUCH_WATCH && !ORBIS
internal sealed class MacNetworkChange : INetworkChange
{
const string DL_LIB = "/usr/lib/libSystem.dylib";
@ -322,7 +322,7 @@ namespace System.Net.NetworkInformation {
}
#endif // !MONOTOUCH_WATCH
#if !NETWORK_CHANGE_STANDALONE && !MONOTOUCH
#if !NETWORK_CHANGE_STANDALONE && !MONOTOUCH && !ORBIS
internal sealed class LinuxNetworkChange : INetworkChange {
[Flags]