Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (NAME.Length != 0)
            {
                hash ^= NAME.GetHashCode();
            }
            if (Reps != 0)
            {
                hash ^= Reps.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
 public override int GetHashCode()
 {
     // ignore CLASS since it's always IN
     return(NAME.GetHashCode() ^ TypeValue);
 }
Пример #3
0
 public override int GetHashCode()
 {
     return(NAME.GetHashCode());
 }