Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs0019-2.cs
blob3fb6cb407e4af0ea32788c2cee602f8a6450306e
1 // CS0019: Operator `+' cannot be applied to operands of type `int' 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 int v = 1;
17 object foo = (v + Zub.Foo);