public override int GetHashCode() { ECCurve curve = this.Curve; int num = (curve == null) ? 0 : (~curve.GetHashCode()); if (!this.IsInfinity) { ECPoint eCPoint = this.Normalize(); num ^= eCPoint.XCoord.GetHashCode() * 17; num ^= eCPoint.YCoord.GetHashCode() * 257; } return(num); }
public override int GetHashCode() { ECCurve curve = Curve; int num = (curve != null) ? (~curve.GetHashCode()) : 0; if (!IsInfinity) { ECPoint eCPoint = Normalize(); num ^= eCPoint.XCoord.GetHashCode() * 17; num ^= eCPoint.YCoord.GetHashCode() * 257; } return(num); }
public override int GetHashCode() { ECCurve curve = this.Curve; int num = (curve != null) ? ~curve.GetHashCode() : 0; if (!this.IsInfinity) { ECPoint point = this.Normalize(); num ^= point.XCoord.GetHashCode() * 0x11; num ^= point.YCoord.GetHashCode() * 0x101; } return(num); }