Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0019-4.cs
blob24a1b32ee48f5c9f0f4972a4e4108f698584b18a
1 // CS0019: 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);