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

RSRP-182786: False 'Unresolved jump'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jun 17, 2010 5:30:28 PM
Updated Jun 21, 2011 3:14:16 PM
Priority Critical
Type Bug
Fix versions 6.1
State Open
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
using System;

class A
{
    static void Foo(DayOfWeek? x)
    {
        switch (x)
        {
            case DayOfWeek.Monday:
                goto case DayOfWeek.Wednesday; // here
            case DayOfWeek.Tuesday:
                Console.WriteLine("A");
                break;
            case DayOfWeek.Wednesday:
                Console.WriteLine("B");
                break;
            default:
                Console.WriteLine("C");
                break;
        }
    }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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