Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked {
         return(((side != null ? side.GetHashCode() : 0) * 397) ^
                (borderRadius != null ? borderRadius.GetHashCode() : 0));
     }
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            var hashCode = (side != null ? side.GetHashCode() : 0);

            hashCode = (hashCode * 397) ^ (borderRadius != null ? borderRadius.GetHashCode() : 0);
            return(hashCode);
        }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (side != null ? side.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (borderRadius != null ? borderRadius.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ circleness.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (top != null ? top.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (right != null ? right.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (bottom != null ? bottom.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (left != null ? left.GetHashCode() : 0);
         return(hashCode);
     }
 }
Ejemplo n.º 5
0
 public override int GetHashCode()
 {
     return(side != null ? side.GetHashCode() : 0);
 }
Ejemplo n.º 6
0
 public override int GetHashCode()
 {
     unchecked {
         return(((side != null ? side.GetHashCode() : 0) * 397) ^ circleness.GetHashCode());
     }
 }