Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-298081: Provide an annotation for parameters where null-returning lambdas or method groups should not be passed

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 28, 2012 4:00:52 AM
Updated Apr 30, 2012 12:44:10 AM
Priority Normal
Type Feature
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
using System.Threading.Tasks;

class C
{
    static void Main()
    {
        Task.Factory.FromAsync((_, __) => null, _ => 0, 0); // Missing NRE warning for the first argument
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>