Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ProdCode.Length != 0)
            {
                hash ^= ProdCode.GetHashCode();
            }
            if (OrderId != 0)
            {
                hash ^= OrderId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
 public override int GetHashCode()
 {
     return((ProdCode?.GetHashCode(StringComparison.Ordinal) ?? 0) ^ OrderId.GetHashCode());
 }