@ -156,7 +156,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Icc
{
unchecked
int hashCode = (int)this.Type;
int hashCode = this.Type.GetHashCode();
hashCode = HashHelpers.Combine(hashCode, this.G.GetHashCode());
hashCode = HashHelpers.Combine(hashCode, this.A.GetHashCode());
hashCode = HashHelpers.Combine(hashCode, this.B.GetHashCode());
@ -74,7 +74,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Icc
public override int GetHashCode()
return HashHelpers.Combine(
(int)this.CurveType,
this.CurveType.GetHashCode(),
this.XyzValues.GetHashCode(),
this.ResponseArrays.GetHashCode());
}
@ -112,7 +112,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Icc
base.GetHashCode(),
(int)this.ColorantType,
this.ColorantType.GetHashCode(),
this.ChannelValues.GetHashCode());
@ -90,7 +90,7 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Icc
this.IlluminantXyz.GetHashCode(),
this.SurroundXyz.GetHashCode(),
(int)this.Illuminant);
this.Illuminant.GetHashCode());