Exemplo n.º 1
0
#pragma warning disable S2328 // "GetHashCode" should not reference mutable fields
        public override int GetHashCode()
#pragma warning restore S2328 // "GetHashCode" should not reference mutable fields
        {
            int hashCode = 910641971;

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(key);

            hashCode = hashCode * -1521134295 + type.GetHashCode();
            hashCode = hashCode * -1521134295 + boolean.GetHashCode();
            hashCode = hashCode * -1521134295 + integer.GetHashCode();
            hashCode = hashCode * -1521134295 + number.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(text);

            return(hashCode);
        }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(ConfigType.GetHashCode());
 }