public override int GetHashCode()
 {
     unchecked
     {
         return((Name.GetHashCode() * 397) ^ LockId.GetHashCode());
     }
 }
 /// <inheritdoc />
 public override int GetHashCode()
 {
     // ReSharper disable once NonReadonlyMemberInGetHashCode
     return(LockId.GetHashCode());
 }