/// <summary> /// Initializes a new instance of the <see cref="PeerContextLock"/> class. /// </summary> /// <param name="id">The id.</param> internal PeerContextLock(string id) { if (string.IsNullOrEmpty(id)) { ThrowHelper.ThrowArgumentNullException("id"); } mLock = new DeadlockSafeLock(id); }