Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Leading.GetHashCode();
         hashCode = (hashCode * 397) ^ Children.GetHashCode();
         hashCode = (hashCode * 397) ^ Trailing.GetHashCode();
         hashCode = (hashCode * 397) ^ Body.GetHashCode();
         return(hashCode);
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     return(Top.GetHashCode() ^ Leading.GetHashCode() ^ Trailing.GetHashCode() ^ Bottom.GetHashCode());
 }