repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0019-6.cs
blob
c76038664b59c10dd49445e1bc9ae6b5bcffd613
1
// cs0019.cs: Operator `==' cannot be applied to operands of type `A' and `B'
2
// Line : 21
3
4
enum
A
5
{
6
A1
,
7
A2
8
}
9
10
enum
B
11
{
12
B1
,
13
B2
14
}
15
16
class
C
17
{
18
static void
Main
()
19
{
20
A a
=
A
.
A1
;
21
System
.
Console
.
WriteLine
(
a
==
B
.
B1
);
22
}
23
}