public static bool AreEqual(ITextureResource left, ITextureResource right) { if (left is null && right is null) { return(true); } if (left is null || right is null) { return(false); } return(left.GetHashCode() == right.GetHashCode()); }
public int GetHashCode(ITextureResource obj) { return(obj.GetHashCode()); }