示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((EqualityComparer <T> .Default.GetHashCode(_value) * 397) ^ IsPresent.GetHashCode());
     }
 }
示例#2
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = 27;

                hashCode = (13 * hashCode) + IsPresent.GetHashCode();
                hashCode = (13 * hashCode) + Value.GetHashCode();

                return(hashCode);
            }
        }
示例#3
0
 public override int GetHashCode()
 {
     return(IsPresent.GetHashCode());
 }