summaryrefslogtreecommitdiff
path: root/mcs/class/corlib/System.Threading/Monitor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Threading/Monitor.cs')
-rw-r--r--mcs/class/corlib/System.Threading/Monitor.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/corlib/System.Threading/Monitor.cs b/mcs/class/corlib/System.Threading/Monitor.cs
index 4a326041cb..d6a289e76b 100644
--- a/mcs/class/corlib/System.Threading/Monitor.cs
+++ b/mcs/class/corlib/System.Threading/Monitor.cs
@@ -227,10 +227,12 @@ namespace System.Threading
#endif
#if NET_4_5
- [MonoTODO]
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ extern static bool Monitor_test_owner (object obj);
+
public static bool IsEntered (object obj)
{
- throw new NotImplementedException ();
+ return Monitor_test_owner(obj);
}
#endif
}