diff --git a/src/ImageSharp/Metadata/Profiles/Exif/Values/EncodedString.cs b/src/ImageSharp/Metadata/Profiles/Exif/Values/EncodedString.cs index d95081296..a785c0bf5 100644 --- a/src/ImageSharp/Metadata/Profiles/Exif/Values/EncodedString.cs +++ b/src/ImageSharp/Metadata/Profiles/Exif/Values/EncodedString.cs @@ -46,6 +46,10 @@ namespace SixLabors.ImageSharp.Metadata.Profiles.Exif return this.Text == other.Text && this.Code == other.Code; } + /// + public override int GetHashCode() => + HashCode.Combine(this.Text, this.Code); + /// public override string ToString() => this.Text; }