public static bool IsEntered(object obj) { if (obj == null) { throw new ArgumentNullException("obj"); } return(Monitor.IsEnteredNative(obj)); }