Browse Source

Delete XElementEqualityComparer.cs

pull/1918/head
Ynse Hoornenborg 4 years ago
parent
commit
12263f9e53
  1. 20
      src/ImageSharp/Metadata/Profiles/XMP/XElementEqualityComparer.cs

20
src/ImageSharp/Metadata/Profiles/XMP/XElementEqualityComparer.cs

@ -1,20 +0,0 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.Xml.Linq;
namespace SixLabors.ImageSharp.Metadata.Profiles.Xmp
{
/// <summary>
/// Compare <see cref="XElement"/> objects for Name and Value equality.
/// </summary>
public class XElementEqualityComparer : IEqualityComparer<XElement>
{
/// <inheritdoc />
public bool Equals(XElement x, XElement y) => x.Name == y.Name && x.Value == y.Value;
/// <inheritdoc />
public int GetHashCode(XElement obj) => obj.GetHashCode();
}
}
Loading…
Cancel
Save