Updated with review feedback.
[mono.git] / mcs / errors / cs0019-27.cs
1 // CS0019: Operator `==' cannot be applied to operands of type `C.E1' and `C.E2'
2 // Line: 21
3
4 class C
5 {
6         enum E1 : long
7         {
8                 A
9         }
10         
11         enum E2 : sbyte
12         {
13                 A
14         }
15         
16         public static void Main ()
17         {
18                 E1 b = E1.A;
19                 E2 d = E2.A;
20                 
21                 bool brr = b == d;
22         }
23 }