projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs0221-3.cs
1
// cs0221-2.cs: 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
}