/// <summary>Initializes a new instance of the <see cref="LockEntry"/> class.</summary>
 /// <param name="parent">The owning lock.</param>
 /// <param name="trace">The current stack trace.</param>
 public LockEntry(ExclusiveLock parent, StackTrace trace)
 {
     this.parentLock = parent;
     this.stackTrace = trace;
 }
 /// <summary>Initializes a new instance of the <see cref="LockEntry"/> class.</summary>
 /// <param name="parent">The owning lock.</param>
 public LockEntry(ExclusiveLock parent)
 {
     this.parentLock = parent;
 }