public override int GetHashCode() { int hashCode = 0; unchecked { if (_matches != null) { hashCode += 1000000007 * _matches.GetHashCode(); } if (Parent != null) { hashCode += 1000000009 * Parent.GetHashCode(); } if (null != Town) { hashCode += 1000000087 * Town.GetHashCode(); } if (Variants != null) { hashCode += 1000000093 * Variants.GetHashCode(); } hashCode += 1000000097 * Depth.GetHashCode(); } return(hashCode); }
/// <summary> /// Returns the hash code for this instance. /// </summary> public override int GetHashCode() { return(Language.GetHashCode() ^ Script.GetHashCode() ^ Region.GetHashCode() ^ Variants.GetHashCode() ^ Extensions.GetHashCode() ^ PrivateUse.GetHashCode()); }
/// <summary> /// Returns the hash code for this instance. /// </summary> public override int GetHashCode() { return((Language is null ? 0 : Language.GetHashCode()) ^ (Script is null ? 0 : Script.GetHashCode()) ^ (Region is null ? 0 : Region.GetHashCode()) ^ Variants.GetHashCode() ^ Extensions.GetHashCode() ^ PrivateUse.GetHashCode()); }