projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
938735e69a20af08073e8eac226e2a48d9d8abd5
[mono.git]
/
mcs
/
errors
/
cs0019-4.cs
1
// cs0019.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
Zub a = Zub.Foo, b = Zub.Bar;
17
object v = (a + b);
18
}
19
}
20