ExternalAnnotations icon indicating copy to clipboard operation
ExternalAnnotations copied to clipboard

System.Linq.Enumerable.OrderBy keySelector should be ItemCanBeNull

Open drewnoakes opened this issue 8 years ago • 1 comments

It's ok for the Func<TSource, TKey> to return null. R# warns if you try to (when using implicit not null).

Same for OrderByDescending, ThenBy and ThenByDescending.

drewnoakes avatar Dec 15 '16 16:12 drewnoakes

Func<> does not support ItemNotNulll/ItemCanBeNull annotations. Request: https://youtrack.jetbrains.com/issue/RSRP-463008

sirduke avatar Oct 06 '17 15:10 sirduke