public override int GetHashCode()
 {
     if (parent == null)
     {
         throw new InvalidOperationException("Cannot add key to collection without the parent info");
     }
     return(localKey.GetHashCode() + parent.GetHashCode());
 }
 public override int GetHashCode()
 {
     return(Key.GetHashCode() ^ OwnerKey.GetHashCode());
 }