public override bool IsLocked() { lock (this) { return(@lock.IsLocked()); } }
public override bool IsLocked() { UninterruptableMonitor.Enter(this); try { return(@lock.IsLocked()); } finally { UninterruptableMonitor.Exit(this); } }