Follow-up to Enumerable.Min/Max Comparer<T>.Default optimization (#48289)
authorStephen Toub <stoub@microsoft.com>
Mon, 15 Feb 2021 14:06:31 +0000 (09:06 -0500)
committerGitHub <noreply@github.com>
Mon, 15 Feb 2021 14:06:31 +0000 (09:06 -0500)
commit6c8f9fff6adcf6c661072646dbdafabed5267ec5
tree238ea4c9378234cd54242aac777e9a37d2523ac1
parent16910d873ce8d3288a20ea0bdd927fc874aade42
Follow-up to Enumerable.Min/Max Comparer<T>.Default optimization (#48289)

I didn't notice the same pattern was employed in the `Func<TSource, TResult>` overloads, so changing them, too.
src/libraries/System.Linq/src/System/Linq/Max.cs
src/libraries/System.Linq/src/System/Linq/Min.cs