public override int GetHashCode() { unchecked { return((Variable.GetHashCode() * 397) ^ Factor.GetHashCode()); } }
public override int GetHashCode() { unchecked { var hashCode = LeftTerm.GetHashCode(); hashCode = (hashCode * 397) ^ (Factors?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Coefficient.GetHashCode(); return(hashCode); } }