Implemented System.Threading.Monitor.IsEntered
[mono.git] / mcs / class / corlib / System.Threading / Monitor.cs
index 4a326041cb0a387a9e3bf6f98233ef8c6d0060dc..d6a289e76b5a1754dfb0cc08774185b39a13d62a 100644 (file)
@@ -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
        }