a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
243 B
C#
15 lines
243 B
C#
// CS0221: Constant value `-3' cannot be converted to a `ushort' (use `unchecked' syntax to override)
|
|
// Line: 12
|
|
|
|
class C
|
|
{
|
|
delegate void D ();
|
|
|
|
static void Main ()
|
|
{
|
|
D d = checked (delegate {
|
|
const ushort s = (ushort) -3;
|
|
});
|
|
}
|
|
}
|