Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((StartMonth != null ? StartMonth.GetHashCode() : 0) * 397) ^ (EndMonth != null ? EndMonth.GetHashCode() : 0));
     }
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Applicant.Length != 0)
            {
                hash ^= Applicant.GetHashCode();
            }
            if (CompanyName.Length != 0)
            {
                hash ^= CompanyName.GetHashCode();
            }
            if (CountryCode.Length != 0)
            {
                hash ^= CountryCode.GetHashCode();
            }
            if (Location.Length != 0)
            {
                hash ^= Location.GetHashCode();
            }
            if (JobTitle.Length != 0)
            {
                hash ^= JobTitle.GetHashCode();
            }
            if (JobDescription.Length != 0)
            {
                hash ^= JobDescription.GetHashCode();
            }
            if (StartMonth != 0)
            {
                hash ^= StartMonth.GetHashCode();
            }
            if (StartYear != 0)
            {
                hash ^= StartYear.GetHashCode();
            }
            if (EndMonth != 0)
            {
                hash ^= EndMonth.GetHashCode();
            }
            if (EndYear != 0)
            {
                hash ^= EndYear.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Applicant.Length != 0)
            {
                hash ^= Applicant.GetHashCode();
            }
            if (Skill.Length != 0)
            {
                hash ^= Skill.GetHashCode();
            }
            if (SkillLevel.Length != 0)
            {
                hash ^= SkillLevel.GetHashCode();
            }
            if (StartMonth != 0)
            {
                hash ^= StartMonth.GetHashCode();
            }
            if (StartYear != 0)
            {
                hash ^= StartYear.GetHashCode();
            }
            if (EndMonth != 0)
            {
                hash ^= EndMonth.GetHashCode();
            }
            if (EndYear != 0)
            {
                hash ^= EndYear.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }