repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mcs] Reset also all partial parts current-type
[mono-project.git]
/
mcs
/
errors
/
cs0221-12.cs
blob
f9bf02d82b0a18df30d1dd9f137fae23356a51bf
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
}