public override int GetHashCode() { unchecked { return((AllocationValue.GetHashCode() * 397) ^ (DistributionPeriod != null ? DistributionPeriod.GetHashCode() : 0)); } }