Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 19, 2012 1:43:13 AM |
Updated | Mar 28, 2012 7:37:49 PM |
Resolved | Mar 28, 2012 7:37:49 PM |
Priority | Normal |
Type | Bug |
Fix versions | 7.0 |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System; class Program { static void Foo(int? x, int? y) { if (x.HasValue && y.HasValue) { return; } int? z = x + y; if(z.HasValue) // 'Expression is always false' is not detected { Console.WriteLine(); } } }