public override int GetHashCode() { var hashCode = 1337393187; hashCode = hashCode * (-1521134295 + InLiters.GetHashCode()); hashCode = hashCode * (-1521134295 + InLiters.GetHashCode()); hashCode = hashCode * (-1521134295 + InUsGallons.GetHashCode()); return(hashCode); }