Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ Type.GetHashCode();
         return(hashCode);
     }
 }
Example #2
0
        public override int GetHashCode()
        {
            var hashCode = -669044336;

            hashCode = hashCode * -1521134295 + Type.GetHashCode();
            hashCode = hashCode * -1521134295 + X.GetHashCode();
            hashCode = hashCode * -1521134295 + Y.GetHashCode();
            return(hashCode);
        }
Example #3
0
 public override int GetHashCode()
 {
     return(start.GetHashCode() ^ end.GetHashCode());
 }