// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Roslyn.UnitTestFramework { internal static partial class EnumerableExtensions { private class ComparisonComparer : Comparer { private readonly Comparison _compare; public ComparisonComparer(Comparison compare) { _compare = compare; } public override int Compare(T x, T y) { return _compare(x, y); } } } }