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

RSRP-275385: False error: Use of 'null' is not valid in this context

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Sep 8, 2011 2:29:55 AM
Updated Nov 15, 2011 6:54:12 PM
Resolved Nov 15, 2011 6:54:12 PM
Priority Normal
Type Bug
Fix versions 6.1
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 6.1.5.77
class Program
{
    static void Main()
    {
        foreach (var x in true ? null : null as string)
        {
        }
    }
}


'true ? null : null as string' is not a constant expression

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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