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-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0019-2.cs
blob
03b891c7ae51d80db95da7bff2d9add42f759aae
1
// cs0019-2.cs: Operator `+' cannot be applied to operands of type `int' 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
int
v
=
1
;
17
object
foo
= (
v
+
Zub
.
Foo
);
18
}
19
}
20