public override int GetHashCode()
 {
     return(Part1.GetHashCode() ^
            Part2.GetHashCode() ^
            Part3.GetHashCode() ^
            Part4.GetHashCode());
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Part1.GetHashCode();
         hashCode = (hashCode * 397) ^ Part2.GetHashCode();
         hashCode = (hashCode * 397) ^ Part3.GetHashCode();
         return(hashCode);
     }
 }