public override int GetHashCode() { // Don't use Value property, because Value will convert to Decimal, which is not necessary. return IsNull ? 0 : _value.GetHashCode(); }