Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 21, 2012 7:04:16 AM |
Updated | Mar 26, 2012 8:27:51 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
using System.Collections; class C { static void Foo(object x) { var y = x; if(x is string) { if(y is IEnumerable) // 'Expression is always true' is not detected { } } } static void Bar(object x) { var y = x; if(y is string) { if(x is IEnumerable) // 'Expression is always true' is not detected { } } } }