diff options
Diffstat (limited to 'release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Linq.md')
-rw-r--r-- | release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Linq.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Linq.md b/release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Linq.md new file mode 100644 index 00000000..2ad005ee --- /dev/null +++ b/release-notes/7.0/preview/api-diff/preview7/Microsoft.NETCore.App/7.0-preview7_System.Linq.md @@ -0,0 +1,23 @@ +# System.Linq + +``` diff + namespace System.Linq { + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)1)] + public static class Enumerable { ++ public static IOrderedEnumerable<T> Order<T>(this IEnumerable<T> source); ++ public static IOrderedEnumerable<T> Order<T>(this IEnumerable<T> source, [NullableAttribute(new byte[]{ (byte)2, (byte)1})] IComparer<T>? comparer); ++ public static IOrderedEnumerable<T> OrderDescending<T>(this IEnumerable<T> source); ++ public static IOrderedEnumerable<T> OrderDescending<T>(this IEnumerable<T> source, [NullableAttribute(new byte[]{ (byte)2, (byte)1})] IComparer<T>? comparer); + } + [NullableAttribute((byte)0)] + [NullableContextAttribute((byte)1)] + public static class Queryable { ++ public static IOrderedQueryable<T> Order<T>(this IQueryable<T> source); ++ public static IOrderedQueryable<T> Order<T>(this IQueryable<T> source, IComparer<T> comparer); ++ public static IOrderedQueryable<T> OrderDescending<T>(this IQueryable<T> source); ++ public static IOrderedQueryable<T> OrderDescending<T>(this IQueryable<T> source, IComparer<T> comparer); + } + } +``` + |