2009-11-17 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0221-14.cs
blobc855e76b5254bcf8c3303194c513bb98c5f7d998
1 // CS0221: Constant value `-1' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2 // Line: 11
4 class C
6 delegate void D ();
8 static void Main ()
10 D d = unchecked (delegate {
11 const ushort s = (ushort) -1;
12 });