projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-08-25 Marek Habersack <mhabersack@novell.com>
[mono.git]
/
mcs
/
errors
/
cs0221-12.cs
1
// CS0221: Constant value `-3' cannot be converted to a `ushort' (use `unchecked' syntax to override)
2
// Line: 12
3
4
class C
5
{
6
delegate void D ();
7
8
static void Main ()
9
{
10
D d = checked (delegate {
11
const ushort s = (ushort) -3;
12
});
13
}
14
}