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

RSRP-333007: Wrong analyze result (R# 7.1.11.62)

$
0
0
Reporter Flemming Clausen (Clausen) Flemming Clausen (Clausen)
Created Oct 24, 2012 5:58:13 PM
Updated Apr 26, 2018 11:11:40 AM
Subsystem Code Analysis - Annotations
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Waiting for Info
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
var size = GetElementSize();
if (size == null) size = new Vector3D(192,192,192);

Above code is flagged with 'Expression allways false' and the assignment is 'heuristically unreachable'
I know for sure (it is my own code), GetElementSize CAN return null

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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