File: SetExtensions.cs | Web Access |
Project: src\src\Microsoft.DotNet.XUnitAssert\tests\Microsoft.DotNet.XUnitAssert.Tests.csproj (Microsoft.DotNet.XUnitAssert.Tests) |
using System.Collections.Generic; internal static class SetExtensions { public static SortedSet<T> ToSortedSet<T>(this ISet<T> set, IComparer<T>? comparer = null) => new SortedSet<T>(set, comparer); } |