Reporter | Drew Noakes (drewnoakes) |
---|---|
Created | Jan 30, 2012 5:26:07 PM |
Updated | Jan 30, 2012 5:26:07 PM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Code Analysis - Control Flow |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
I came across this bug today:
I cannot see why R# couldn't flag this branch as unreachable.
var i = (ushort)Blah(); if (i < 0) ThisCodeUnreachable();
I cannot see why R# couldn't flag this branch as unreachable.