When compiling the following program in VS2010, VS2008 or MonoDevelop on Windows, I get warning CS0219, \"The variable \'y\' is assigned but its value is never used\".
Eclipse will consider the case unused.