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
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git]
/
mcs
/
errors
/
cs0266-9.cs
blob
0e5338062ba86438c5fdf4f3798e4b42c9a238d1
1
// CS0266: Cannot implicitly convert type `E2' to `E1'. An explicit conversion exists (are you missing a cast?)
2
// Line : 8
3
4
enum
E1 { A }
5
enum
E2 { A }
6
7
class
X
{
8
const
E1 e
=
~E2
.
A
;
9
}
10