From 805ecdad8656385b6f66cf435867d319a4f9acc0 Mon Sep 17 00:00:00 2001 From: Andriy Tolstoy Date: Mon, 11 Mar 2024 16:17:58 +0100 Subject: [PATCH] redundant distinct method invocation could be removed --- .../Util/ConfigurationDictionaryEqualityComparer`2.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Silverback.Core/Util/ConfigurationDictionaryEqualityComparer`2.cs b/src/Silverback.Core/Util/ConfigurationDictionaryEqualityComparer`2.cs index c05707a60..3f8f40500 100644 --- a/src/Silverback.Core/Util/ConfigurationDictionaryEqualityComparer`2.cs +++ b/src/Silverback.Core/Util/ConfigurationDictionaryEqualityComparer`2.cs @@ -50,7 +50,6 @@ public bool Equals(IEnumerable>? x, IEnumerable pair.Key) .Union(y.Select(pair => pair.Key)) - .Distinct() .ToList(); if (allKeys.Count != x.Count())