예제 #1
0
        public override int GetHashCode()
        {
            var hash = 17;

            hash = hash * 37 + Name.GetHashCode();
            hash = hash * 37 + Size.GetHashCode();
            hash = hash * 37 + Signedness.GetHashCode();
            return(hash);
        }
예제 #2
0
 public override int GetHashCode()
 {
     return(Name.GetHashCode() + Size.GetHashCode() + Signedness.GetHashCode());
 }