diff --git a/Directory.Packages.props b/Directory.Packages.props index 95ec468c..8b6134e8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -32,7 +32,7 @@ - + diff --git a/Source/SuperLinq/Exclude.cs b/Source/SuperLinq/Exclude.cs index 87334b26..79b6ace9 100644 --- a/Source/SuperLinq/Exclude.cs +++ b/Source/SuperLinq/Exclude.cs @@ -42,7 +42,7 @@ public static IEnumerable Exclude(this IEnumerable sequence, int startI (0, _) => sequence, (_, IList list) => new ExcludeListIterator(list, startIndex, count), (_, ICollection collection) => new ExcludeCollectionIterator(collection, startIndex, count), - _ => ExcludeCore(sequence, startIndex, count) + _ => ExcludeCore(sequence, startIndex, count), }; } diff --git a/Source/SuperLinq/TrySingle.cs b/Source/SuperLinq/TrySingle.cs index fad73003..e0d074ad 100644 --- a/Source/SuperLinq/TrySingle.cs +++ b/Source/SuperLinq/TrySingle.cs @@ -135,7 +135,7 @@ public static TResult TrySingle( return n switch { 1 => source.First(), - 0 or _ => default + 0 or _ => default, }; } else