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-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0019-4.cs
blob
a4edfdcfcafd17c58bf8b640805e2efdf8da2084
1
// cs0019-4.cs: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
2
// Line : 11
3
using
System
;
4
5
class
Test
{
6
7
enum
Zub
:
byte
{
8
Foo
=
99
,
9
Bar
,
10
Baz
11
}
12
13
14
static void
Main
()
15
{
16
Zub a
=
Zub
.
Foo
,
b
=
Zub
.
Bar
;
17
object
v
= (
a
+
b
);
18
}
19
}
20