public override int GetHashCode() { unchecked { var hashCode = (int)LipidClass; hashCode = (hashCode * 397) ^ (int)LipidType; hashCode = (hashCode * 397) ^ (FragmentDescription != null ? FragmentDescription.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)FragmentationMode; hashCode = (hashCode * 397) ^ (int)FragmentationType; return(hashCode); } }