repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0019-27.cs
blob
b3ff04c3d748d28b637c9e66be6a1b6403fc07bc
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
}