From e2ade7f651bb4ec289e010826a5875af239e2b96 Mon Sep 17 00:00:00 2001 From: genar Date: Tue, 15 Nov 2022 23:59:47 +0100 Subject: [PATCH] Delete Comparer.cs --- Arch/Core/Utils/Comparer.cs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Arch/Core/Utils/Comparer.cs diff --git a/Arch/Core/Utils/Comparer.cs b/Arch/Core/Utils/Comparer.cs deleted file mode 100644 index 691baa47..00000000 --- a/Arch/Core/Utils/Comparer.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Arch.Core.Utils; - -/// -/// A equality comparer for a array. -/// -public class TypeEqualityComparer : IEqualityComparer { - - public bool Equals(Type[] x, Type[] y) { return x != null && y != null && x.SequenceEqual(y); } - public int GetHashCode(Type[] obj) { return obj.GetHashCode(); } - - /// - /// Public instance which can be used by all collections requiring such a comparer. - /// - public static TypeEqualityComparer Instance { get; } = new TypeEqualityComparer(); -} \ No newline at end of file