From d7e890d6c3232d8ec7a5f5ba90aad0890e4a493d Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Fri, 17 Jul 2020 13:57:38 -0400 Subject: [PATCH] refactor: Removing redundant method --- .../Extensions/EnumerableExtensions.cs | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/ICD.Common.Utils/Extensions/EnumerableExtensions.cs b/ICD.Common.Utils/Extensions/EnumerableExtensions.cs index 96b26b9..10d52b5 100644 --- a/ICD.Common.Utils/Extensions/EnumerableExtensions.cs +++ b/ICD.Common.Utils/Extensions/EnumerableExtensions.cs @@ -228,29 +228,6 @@ namespace ICD.Common.Utils.Extensions return extends.TryElementAt(index, out output) ? output : defaultValue; } - /// - /// Compares the two sequences for identical values. - /// - /// - /// - /// - /// - /// - public static bool SequenceEqual([NotNull] this IEnumerable extends, [NotNull] IEnumerable other, - [NotNull] IEqualityComparer comparer) - { - if (extends == null) - throw new ArgumentNullException("extends"); - - if (other == null) - throw new ArgumentNullException("other"); - - if (comparer == null) - throw new ArgumentNullException("comparer"); - - return extends.SequenceEqual(other, comparer.Equals); - } - /// /// Compares the two sequences for identical values. ///