/// <inheritdoc/> public override int GetHashCode() { unchecked { var hash = 17; hash = (hash * 23) ^ Address.GetHashCode(); foreach (var e in Elements) { hash = (hash * 23) ^ e.GetHashCode(); } return(hash); } }
/// <inheritdoc/> public override int GetHashCode() { unchecked { var hash = 17; hash = (hash * 23) ^ Address.GetHashCode(); for (ActorPath p = this; p != null; p = p.Parent) { hash = (hash * 23) ^ p.Name.GetHashCode(); } return(hash); } }