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

RSRP-294882: SSR problems with switch statement

$
0
0
Reporter Olga Lobacheva (olka) Olga Lobacheva (olka)
Created Apr 16, 2012 5:12:03 PM
Updated Apr 19, 2012 8:58:37 PM
Resolved Apr 19, 2012 8:58:37 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Can't Reproduce
Assignee Victor Kropp (victor.kropp)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Want to find 'switch' statements of special form: with 'default' case which throws an exception.

1. Couldn't set a lot of 'case' clauses (don't now how much)
2. It doesn't work in such case:
switch (xm)
{
    case xxx: stmts1;
    case xxx1:  stmts2;
    case xxx2:  stmts3;
    default: throw new Ex();
}

switch ("dsds")
{
    case "": return "";
    case "q": return "";
    case "w": return "";
    default: throw new InvalidOperationException("");
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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