a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
301 B
C#
24 lines
301 B
C#
// CS0019: Operator `==' cannot be applied to operands of type `A' and `B'
|
|
// Line : 21
|
|
|
|
enum A
|
|
{
|
|
A1,
|
|
A2
|
|
}
|
|
|
|
enum B
|
|
{
|
|
B1,
|
|
B2
|
|
}
|
|
|
|
class C
|
|
{
|
|
static void Main ()
|
|
{
|
|
A a = A.A1;
|
|
System.Console.WriteLine (a == B.B1);
|
|
}
|
|
}
|