public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hash = 17;
         // Suitable nullity checks etc, of course :)
         hash = hash * 23 + TypiconVersionId.GetHashCode();
         hash = hash * 23 + Year.GetHashCode();
         return(hash);
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hash = 17;
         hash = hash * 23 + TypiconId.GetHashCode();
         hash = hash * 23 + TypiconVersionId.GetHashCode();
         hash = hash * 23 + Date.GetHashCode();
         return(hash);
     }
 }