Reporter | 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
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