public extern static void Exit(object obj);
/// <summary> /// Releases resources used by the synchronized block. /// </summary> protected virtual void Dispose(bool disposing) { if (disposing && this.IsLockTaken) { SystemMonitor.Exit(this.SyncObject); } }