Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0221-12.cs
blobf9bf02d82b0a18df30d1dd9f137fae23356a51bf
1 // CS0221: Constant value `-3' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2 // Line: 12
4 class C
6 delegate void D ();
8 static void Main ()
10 D d = checked (delegate {
11 const ushort s = (ushort) -3;
12 });