Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 21, 2012 7:20:01 AM |
Updated | Mar 26, 2012 8:28:01 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; class C { static void Foo(bool x) { bool y = x; Console.WriteLine(y); y = x; // 'Redundant assignment' is not detected Console.WriteLine(y); } }