protected override int GetHashCodeCore()
        {
            unchecked
            {
                int hashCode = PrimeiroNome.GetHashCode();
                hashCode = (hashCode * 397) ^ Sobrenome.GetHashCode();

                return(hashCode);
            }
        }
Beispiel #2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (PrimeiroNome.Length != 0)
                    {
                        hash ^= PrimeiroNome.GetHashCode();
                    }
                    if (UltimoNome.Length != 0)
                    {
                        hash ^= UltimoNome.GetHashCode();
                    }
                    if (dataNascimento_ != null)
                    {
                        hash ^= DataNascimento.GetHashCode();
                    }
                    hash ^= enderecos_.GetHashCode();
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }