Skip to content

Commit 5b5e599

Browse files
committed
Add DebuggerDisplayAttribute to ExifValue
1 parent 8da27c9 commit 5b5e599

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ImageSharp/Metadata/Profiles/Exif/Values/ExifValue.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
// Copyright (c) Six Labors.
22
// Licensed under the Six Labors Split License.
33

4+
using System.Diagnostics;
45
using System.Runtime.CompilerServices;
56

67
namespace SixLabors.ImageSharp.Metadata.Profiles.Exif;
78

9+
[DebuggerDisplay("{Tag} = {IsArray?\"[..]\":ToString(),nq} ({GetType().Name,nq})")]
810
internal abstract class ExifValue : IExifValue, IEquatable<ExifTag>
911
{
1012
protected ExifValue(ExifTag tag) => this.Tag = tag;

0 commit comments

Comments
 (0)