コード例 #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
ファイル: RRBase.cs プロジェクト: Moerty/dnstools
 public override int GetHashCode()
 {
     // ignore CLASS since it's always IN
     return(NAME.GetHashCode() ^ TypeValue);
 }
コード例 #3
0
ファイル: WSValue.cs プロジェクト: odensebysmuseer/OBMWS
 public override int GetHashCode()
 {
     return(NAME.GetHashCode());
 }