Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = bounds.GetHashCode();
         hash = hash * 23 + layerNum.GetHashCode();
         return(hash);
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     if (IsNode())
     {
         return(node.GetHashCode());
     }
     if (IsObj())
     {
         return(obj.GetHashCode());
     }
     return(0);
 }