コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = OrderId.GetHashCode();
         hashCode = (hashCode * 397) ^ Quantity.GetHashCode();
         hashCode = (hashCode * 397) ^ Price.GetHashCode();
         hashCode = (hashCode * 397) ^ FilledById.GetHashCode();
         hashCode = (hashCode * 397) ^ Partial.GetHashCode();
         hashCode = (hashCode * 397) ^ StockId.GetHashCode();
         return(hashCode);
     }
 }