public override int GetHashCode() { int hash = 1; if (ProfileId.Length != 0) { hash ^= ProfileId.GetHashCode(); } if (ProposalId.Length != 0) { hash ^= ProposalId.GetHashCode(); } if (ResultId.Length != 0) { hash ^= ResultId.GetHashCode(); } if (matchObject_ != null) { hash ^= MatchObject.GetHashCode(); } if (Timestamp.Length != 0) { hash ^= Timestamp.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ ProfileId.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Education; hashCode = (hashCode * 397) ^ (int)Position; hashCode = (hashCode * 397) ^ ProjectsCourses.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectsPersonal.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectsSharedSmall.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectsSharedMedium.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectsSharedLarge.GetHashCode(); hashCode = (hashCode * 397) ^ TeamsSolo.GetHashCode(); hashCode = (hashCode * 397) ^ TeamsSmall.GetHashCode(); hashCode = (hashCode * 397) ^ TeamsMedium.GetHashCode(); hashCode = (hashCode * 397) ^ TeamsLarge.GetHashCode(); hashCode = (hashCode * 397) ^ (int)CodeReviews; hashCode = (hashCode * 397) ^ (int)ProgrammingGeneral; hashCode = (hashCode * 397) ^ (int)ProgrammingCSharp; hashCode = (hashCode * 397) ^ Comment.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { return(ProfileId.GetHashCode() + CustomerId.GetHashCode()); }