dotnet / dotnet/dotnet-api-docs

System.Linq.Enumerable.OrderByDescending() should warn about .netfx incompatibility with IComparer<T>.Compare() returning int.MinValue

Open
#4,336 8 comments 0 reactions 0 assignees View on GitHub
area-System.Linq Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Please document that `System.Linq.Enumerable.OrderByDescending()` on .netfx does not support `IComparer.Compare()` returning `int.MinValue`: https://stackoverflow.com/q/35537357 .

This is important for people targeting not only .netfx but various versions of .netstandard.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.