Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RatingId != 0)
            {
                hash ^= RatingId.GetHashCode();
            }
            if (RatingName.Length != 0)
            {
                hash ^= RatingName.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     return(RatingId.GetHashCode());
 }