/// <summary> /// Serves as the default hash function. /// </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { return(base.GetHashCode() ^ Hours.GetHashCode() ^ Minutes.GetHashCode() ^ Seconds.GetHashCode() ^ Frames.GetHashCode() ^ SubFrames.GetHashCode()); }
public override int GetHashCode() { unchecked { var hashCode = (int)Ecu; hashCode = (hashCode * 397) ^ (Frames?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Data?.GetHashCode() ?? 0); return(hashCode); } }