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