public override int GetHashCode()
        {
            int hash = 1;

            if (ConfigKey.Length != 0)
            {
                hash ^= ConfigKey.GetHashCode();
            }
            if (ConfigVal != 0L)
            {
                hash ^= ConfigVal.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked {
         return((ConfigKey != null ? ConfigKey.GetHashCode() : 0) * 397);
     }
 }