blob: c855e76b5254bcf8c3303194c513bb98c5f7d998 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// CS0221: Constant value `-1' cannot be converted to a `ushort' (use `unchecked' syntax to override)
// Line: 11
class C
{
delegate void D ();
static void Main ()
{
D d = unchecked (delegate {
const ushort s = (ushort) -1;
});
}
}
|