Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 13, 2012 4:23:06 AM |
Updated | Feb 13, 2012 5:08:04 PM |
Resolved | Feb 13, 2012 5:08:03 PM |
Priority | Normal |
Type | Bug |
Fix versions | Next |
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 Main() { Console.WriteLine(Test(-1)); } static bool Test(int x) { return unchecked(x == (ushort) x); // False 'Expression is always true' } }