public override int GetHashCode() { if (Value == 0 || Value == int.MinValue || Value == int.MaxValue) { return(Hashing.Mix(Value)); } return(Hashing.Combine(Value, (int)Unit)); }
public int GetHashCode(uint obj) { return((int)Hashing.Mix(obj)); }
public int GetHashCode(ulong obj) { return(Hashing.Mix((long)obj)); }