a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
245 B
C#
Executable File
15 lines
245 B
C#
Executable File
// 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;
|
|
});
|
|
}
|
|
}
|