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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0019-21.cs
blob
0e2a0cf820c769ca19956eb5e902f2b6867de3d5
1
// CS0019: Operator `+' cannot be applied to operands of type `AA' and `uint'
2
// Line: 11
3
4
enum
AA
:
byte
{ a, b = 200 }
5
6
public class
C
7
{
8
public static void
Main
()
9
{
10
const uint
ul
=
1
;
11
AA b
=
AA
.
a
+
ul
;
12
}
13
}