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
Remove debugging code from generated code
[mono-project.git]
/
mcs
/
errors
/
cs0221-10.cs
blob
241c367e84ee2bf0abfea9954a2dce9f076e245e
1
// cs0221: Constant value `-200' cannot be converted to a `byte' (use `unchecked' syntax to override)
2
// Line: 6
3
4
enum
AA
:
byte
{ a, b = 200 }
5
6
public class
C
7
{
8
public static void
Main
()
9
{
10
const int
b
=
AA
.
a
-
AA
.
b
;
11
}
12
}