public override int GetHashCode() { unchecked { return((_dateTime.GetHashCode() * 397) ^ (_timeZone != null ? _timeZone.GetHashCode() : 0)); } }
public override int GetHashCode() { unchecked { var hashCode = baseCalendar?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (timeZone?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (_type != null ? _type.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (_date != null ? _date.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (_timeZone != null ? _timeZone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (_amount != null ? _amount.GetHashCode() : 0); return(hashCode); } }