2010-06-04 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0019-4.cs
bloba4edfdcfcafd17c58bf8b640805e2efdf8da2084
1 // cs0019-4.cs: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
2 // Line : 11
3 using System;
5 class Test {
7 enum Zub :byte {
8 Foo = 99,
9 Bar,
10 Baz
14 static void Main ()
16 Zub a = Zub.Foo, b = Zub.Bar;
17 object v = (a + b);