public override int GetHashCode()
        {
            if (HasSimpleValue)
            {
                return(SimpleValue.GetHashCode());
            }

            return(Address.GetHashCode());
        }
示例#2
0
文件: Stress.cs 项目: xgray/dotnet
        public override int GetHashCode()
        {
            int hash = 1;

            if (simpleValue_ != null)
            {
                hash ^= SimpleValue.GetHashCode();
            }
            hash ^= listValue_.GetHashCode();
            return(hash);
        }
示例#3
0
 public override int GetHashCode()
 {
     return(SimpleValue.GetHashCode());
 }