diff --git a/SightKeeper.Domain/Extensions.cs b/SightKeeper.Domain/Extensions.cs index 0dca8648..911566b5 100644 --- a/SightKeeper.Domain/Extensions.cs +++ b/SightKeeper.Domain/Extensions.cs @@ -5,12 +5,6 @@ namespace SightKeeper.Domain; internal static class Extensions { - public static bool HasDuplicates(this IEnumerable enumerable) - { - HashSet hashSet = new(); - return !enumerable.All(hashSet.Add); - } - public static ImmutableHashSet ToImmutableHashSetThrowOnDuplicate(this IEnumerable enumerable) { var tagsBuilder = ImmutableHashSet.CreateBuilder();