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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0221-3.cs
blob
a06c7025d071a45518e97a421e31a3e9822efce1
1
// CS0221: Constant value `-9' cannot be converted to a `E' (use `unchecked' syntax to override)
2
// Line: 10
3
4
enum
E
:
byte
{
5
Min
=
9
6
}
7
8
class
T
{
9
static void
Main
() {
10
E error
= (
E
)(-
9
);
11
System
.
Console
.
WriteLine
(
error
);
12
}
13
}