From c9144e4c4cc20a3185ac80a6134ea8dfae1857f6 Mon Sep 17 00:00:00 2001 From: Atif Aziz Date: Mon, 20 Nov 2023 06:55:42 +0100 Subject: [PATCH] Revert unrelated formatting changes --- MoreLinq/CompatibilitySuppressions.xml | 2 +- MoreLinq/Extensions.g.cs | 6 ++---- MoreLinq/ToDictionary.cs | 12 ++++-------- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/MoreLinq/CompatibilitySuppressions.xml b/MoreLinq/CompatibilitySuppressions.xml index e42c8f90a..b7cc8ddaf 100644 --- a/MoreLinq/CompatibilitySuppressions.xml +++ b/MoreLinq/CompatibilitySuppressions.xml @@ -1,4 +1,4 @@ - + diff --git a/MoreLinq/Extensions.g.cs b/MoreLinq/Extensions.g.cs index 5a2c9e528..b7fcf096d 100644 --- a/MoreLinq/Extensions.g.cs +++ b/MoreLinq/Extensions.g.cs @@ -6637,8 +6637,7 @@ public static Dictionary ToDictionary(this IEnumerab /// mapped to their keys. /// - public static Dictionary ToDictionary( - this IEnumerable<(TKey Key, TValue Value)> source, + public static Dictionary ToDictionary(this IEnumerable<(TKey Key, TValue Value)> source, IEqualityComparer? comparer) where TKey : notnull => MoreEnumerable.ToDictionary(source, comparer); @@ -6657,8 +6656,7 @@ public static Dictionary ToDictionary( /// mapped to their keys. /// - public static Dictionary ToDictionary( - this IEnumerable> source, + public static Dictionary ToDictionary(this IEnumerable> source, IEqualityComparer? comparer) where TKey : notnull => MoreEnumerable.ToDictionary(source, comparer); diff --git a/MoreLinq/ToDictionary.cs b/MoreLinq/ToDictionary.cs index 73367e838..a0e6d87d1 100644 --- a/MoreLinq/ToDictionary.cs +++ b/MoreLinq/ToDictionary.cs @@ -59,13 +59,11 @@ public static Dictionary ToDictionary(IEnumerable #if !NET8_0_OR_GREATER - public static Dictionary ToDictionary( - this IEnumerable> source, + public static Dictionary ToDictionary(this IEnumerable> source, IEqualityComparer? comparer) where TKey : notnull #else - public static Dictionary ToDictionary( - IEnumerable> source, + public static Dictionary ToDictionary(IEnumerable> source, IEqualityComparer? comparer) where TKey : notnull #endif @@ -111,13 +109,11 @@ public static Dictionary ToDictionary(IEnumerable<(T /// #if !NET8_0_OR_GREATER - public static Dictionary ToDictionary( - this IEnumerable<(TKey Key, TValue Value)> source, + public static Dictionary ToDictionary(this IEnumerable<(TKey Key, TValue Value)> source, IEqualityComparer? comparer) where TKey : notnull #else - public static Dictionary ToDictionary( - IEnumerable<(TKey Key, TValue Value)> source, + public static Dictionary ToDictionary(IEnumerable<(TKey Key, TValue Value)> source, IEqualityComparer? comparer) where TKey : notnull #endif