Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = base.GetHashCode();
         hash = (hash * 397) ^ PointerRequired.GetHashCode();
         hash = (hash * 397) ^ RefArgumentRequired.GetHashCode();
         return(hash);
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ PointerRequired.GetHashCode();
         hashCode = (hashCode * 397) ^ RefArgumentRequired.GetHashCode();
         hashCode = (hashCode * 397) ^ (TypeHints != null ? TypeHints.GetHashCode() : 0);
         return(hashCode);
     }
 }