2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0152-2.cs
blob368be58f22d9679c15f709a77cf251e3de7582bc
1 // CS0152: The label `case 2:' already occurs in this switch statement
2 // Line: 19
4 using System;
6 enum E
8 Foo = 2
11 class X
13 void Foo (E e)
15 switch (e)
17 case E.Foo:
18 break;
19 case E.Foo:
20 break;