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
resync
[mcs.git]
/
errors
/
cs0019-21.cs
blob
d8ca656da8fa95ac15af218862c2b1d212a76e3c
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
const
AA b
=
AA
.
a
+
ul
;
12
}
13
}