public override int GetHashCode() { unchecked { var hashCode = Contact?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (int)Direction; hashCode = (hashCode * 397) ^ CallTime.GetHashCode(); return(hashCode); } }