2009-03-10 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / cs0221-7.cs
bloba061e603f778db568264eaf6acdd905e12da9dd2
1 // cs0221-7.cs: Constant value `-Infinity' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2 // Line: 6
4 class X {
5 static void Main () {
6 System.Console.WriteLine ((ushort)double.NegativeInfinity);