public override int GetHashCode() { return(unchecked (GradientType.GetHashCode() + AlphaOnly.GetHashCode())); }
/// <summary> /// Returns the hashcode for this object. /// </summary> /// <returns></returns> public override int GetHashCode() { int StopsHashCode = Stops == null ? 0 : Stops.GetHashCode(); return(HashCoder.GetHash(GradientType.GetHashCode(), StopsHashCode)); }