public override int GetHashCode() { unchecked { var hashCode = matchmakerId.GetHashCode(); hashCode = (hashCode * 397) ^ lastUpdateTimeStamp.GetHashCode(); if (networkUser != null) { hashCode = (hashCode * 397) ^ networkUser.GetHashCode(); } if (visualRepresentation != null) { hashCode = (hashCode * 397) ^ visualRepresentation.GetHashCode(); } return(hashCode); } }