Esempio n. 1
0
        public override int GetHashCode()
        {
            var result = 13;

            result = result * 17 + Tag.GetHashCode();
            result = result * 17 + ParentTag.GetHashCode();
            result = result * 17 + GrandparentTag.GetHashCode();
            result = result * 17 + Name.GetHashCode();
            return(result);
        }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return((StringID == null ? 0 : StringID.GetHashCode()) ^ (IntID.GetHashCode()));
 }