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
[sdks] Fix README.md
[mono-project.git]
/
mcs
/
tests
/
test-266.cs
blob
7b75680b2ce78310bc95b653f388cf7edb6b14e5
1
using
System
;
2
3
enum
Foo { Bar }
4
class
T
{
5
public static int
Main
()
6
{
7
Enum e
=
Foo
.
Bar
;
8
IConvertible convertible
= (
IConvertible
)
e
;
9
IComparable comparable
= (
IComparable
)
e
;
10
IFormattable formattable
= (
IFormattable
)
e
;
11
12
Console
.
WriteLine
(
"PASS"
);
13
return
0
;
14
}
15
}
16