public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = (hash * 34) + Name.GetHashCode();
         hash = (hash * 23) + Depth.GetHashCode();
         hash = (hash * 23) + IsRoot.GetHashCode();
         hash = (hash * 23) + IsLeaf.GetHashCode();
         return(hash);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = (hash * 34) + Name.GetHashCode();
         hash = (hash * 23) + Depth.GetHashCode();
         hash = (hash * 23) + Size.GetHashCode();
         hash = (hash * 23) + CreationTime.GetHashCode();
         hash = (hash * 23) + Attributes.GetHashCode();
         hash = (hash * 23) + IsLeaf.GetHashCode();
         return(hash);
     }
 }