/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Nodetypes != null) { hashCode = hashCode * 59 + Nodetypes.GetHashCode(); } if (Ignorableprops != null) { hashCode = hashCode * 59 + Ignorableprops.GetHashCode(); } if (Ignorablenodes != null) { hashCode = hashCode * 59 + Ignorablenodes.GetHashCode(); } if (Enabled != null) { hashCode = hashCode * 59 + Enabled.GetHashCode(); } if (Distfolders != null) { hashCode = hashCode * 59 + Distfolders.GetHashCode(); } return(hashCode); } }