repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-06-05 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0221-2.cs
blob
4e932bf0cafddd9e2523356bbef426fe36b22b07
1
// cs0221-2.cs: 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
}