using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ANX.Framework.Content.Pipeline
{
///
/// Makes sure that the custom GetHashCode method of the type to compare is ignored and absolutely compare only references.
///
///
internal class ReferenceEqualityComparer : IEqualityComparer
{
public bool Equals(T x, T y)
{
return object.ReferenceEquals(x, y);
}
public int GetHashCode(T obj)
{
return obj.GetHashCode();
}
}
}