Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / errors / cs0221-14.cs
1 // CS0221: Constant value `-1' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2 // Line: 11
3
4 class C
5 {
6         delegate void D ();
7
8         static void Main ()
9         {
10                 D d = unchecked (delegate {
11                         const ushort s = (ushort) -1;
12                 });
13         }
14 }