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 #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
errors
/
cs0221-2.cs
blob
ad9d9d68f107684e0845b5a12201e97cc2faac52
1
// CS0221: Constant value `-91' 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
.
Min
-
100
;
11
System
.
Console
.
WriteLine
(
error
);
12
}
13
}