示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Message.Length != 0)
            {
                hash ^= Message.GetHashCode();
            }
            if (CurrentValue != 0)
            {
                hash ^= CurrentValue.GetHashCode();
            }
            if (LocalSvc.Length != 0)
            {
                hash ^= LocalSvc.GetHashCode();
            }
            if (TargetFramework.Length != 0)
            {
                hash ^= TargetFramework.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Mensagem.Length != 0)
            {
                hash ^= Mensagem.GetHashCode();
            }
            if (ValorAtual != 0)
            {
                hash ^= ValorAtual.GetHashCode();
            }
            if (LocalSvc.Length != 0)
            {
                hash ^= LocalSvc.GetHashCode();
            }
            if (TargetFramework.Length != 0)
            {
                hash ^= TargetFramework.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }