public override int GetHashCode()
 {
     unchecked
     {
         return((base.GetHashCode() * 397) ^ (Foreign != null ? Foreign.GetHashCode() : 0));
     }
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Foreign.GetHashCode() * 397) ^ GlossCandidates.DefaultIfEmpty("").Aggregate(0, (h, s) => h * 397 + s.GetHashCode()));
     }
 }
Esempio n. 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = Foreign.GetHashCode();
         result = (result * 397) ^ Domestic.GetHashCode();
         result = (result * 397) ^ SettlementCalendar.GetHashCode();
         result = (result * 397) ^ SpotLag.GetHashCode();
         return(result);
     }
 }