/// <summary> /// Hash the decoupler. /// </summary> public override int GetHashCode () { int hash = part.GetHashCode (); if (decoupler != null) hash ^= decoupler.GetHashCode (); if (anchoredDecoupler != null) hash ^= anchoredDecoupler.GetHashCode (); return hash; }
/// <summary> /// Hash code for the object. /// </summary> public override int GetHashCode() { int hash = Part.GetHashCode(); if (decoupler != null) { hash ^= decoupler.GetHashCode(); } if (anchoredDecoupler != null) { hash ^= anchoredDecoupler.GetHashCode(); } return(hash); }