예제 #1
0
        public override int GetHashCode()
        {
            var hashCode = 1599767462;

            hashCode = hashCode * -1521134295 + EqualityComparer <MethodInfo> .Default.GetHashCode(mFunction);

            hashCode = hashCode * -1521134295 + mReturnType.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <List <TValue> > .Default.GetHashCode(mParamTypes);

            return(hashCode);
        }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = EstimatedValue.GetHashCode();
         hashCode = (hashCode * 397) ^ StandardError.GetHashCode();
         hashCode = (hashCode * 397) ^ TValue.GetHashCode();
         hashCode = (hashCode * 397) ^ DegreesOfFreedom;
         hashCode = (hashCode * 397) ^ PValue.GetHashCode();
         return(hashCode);
     }
 }
예제 #3
0
            public override int GetHashCode()
            {
                int num;

                if (key != null)
                {
                    TKey val = key;
                    num = val.GetHashCode();
                }
                else
                {
                    num = 0;
                }
                return(num ^ ((evalue != null) ? evalue.GetHashCode() : 0));
            }
예제 #4
0
 public override int GetHashCode()
 {
     return((key == null ? 0 : key.GetHashCode()) ^ (evalue == null ? 0 : evalue.GetHashCode()));
 }
예제 #5
0
 public override Int32 GetHashCode()
 {
     return(_value.GetHashCode());
 }
예제 #6
0
 public override int GetHashCode()
 {
     return(Value.GetHashCode() + Timeout.GetHashCode());
 }
 public override int GetHashCode() => ((RefCount << 5) + RefCount) ^ Value.GetHashCode();
예제 #8
0
 public override int GetHashCode()
 => (HashCode << 8) ^ Next ^ Key.GetHashCode() ^ (Value?.GetHashCode() ?? 0);
예제 #9
0
 public override int GetHashCode()
 {
     return((HashCode << 8) ^ Next ^ Key.GetHashCode() ^ Value.GetHashCode());
 }
예제 #10
0
 public override int GetHashCode()
 {
     return (key == null ? 0 : key.GetHashCode()) ^
            (val == null ? 0 : val.GetHashCode());
 }