retag
[mcs.git] / errors / cs0019-6.cs
blobc76038664b59c10dd49445e1bc9ae6b5bcffd613
1 // cs0019.cs: Operator `==' cannot be applied to operands of type `A' and `B'
2 // Line : 21
4 enum A
6 A1,
7 A2
10 enum B
12 B1,
16 class C
18 static void Main ()
20 A a = A.A1;
21 System.Console.WriteLine (a == B.B1);