diff options
author | Marek Safar <marek.safar@gmail.com> | 2013-01-08 20:27:19 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2013-01-08 20:27:19 +0400 |
commit | 39c48d5e83d03851f569e25a1c2160845e4ffcdc (patch) | |
tree | c9e94403607c267c5945901e4b3100b578f9c1d4 | |
parent | cd4d381b6822d58cdfa1a57225e9c3d421056b75 (diff) |
Remove NET_2_1 default (broken) contextmono-3.0.3
-rw-r--r-- | mcs/class/corlib/System.Threading/SynchronizationContext.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mcs/class/corlib/System.Threading/SynchronizationContext.cs b/mcs/class/corlib/System.Threading/SynchronizationContext.cs index 3bbb7569ff3..5c4cedf15b0 100644 --- a/mcs/class/corlib/System.Threading/SynchronizationContext.cs +++ b/mcs/class/corlib/System.Threading/SynchronizationContext.cs @@ -47,15 +47,11 @@ namespace System.Threading currentContext = context; } - public static SynchronizationContext Current - { + public static SynchronizationContext Current { get { #if MONODROID if (currentContext == null) currentContext = AndroidPlatform.GetDefaultSyncContext (); -#elif NET_2_1 - if (currentContext == null) - currentContext = new SynchronizationContext (); #endif return currentContext; } |