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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
tests
/
gtest-313.cs
blob
92a36ba7a35ef95bd263502f5f6244c445a5721f
1
using
System
;
2
3
class
Foo
<
T
>
4
{
5
public enum
TestEnum { One, Two, Three }
6
7
public
TestEnum Test
;
8
9
public
Foo
(
TestEnum test
)
10
{
11
this
.
Test
=
test
;
12
}
13
}
14
15
class
X
16
{
17
public static void
Main
()
18
{
19
Foo
<
int
>.
TestEnum e
=
Foo
<
int
>.
TestEnum
.
One
;
20
Console
.
WriteLine
(
e
);
21
22
Foo
<
int
>
foo
=
new
Foo
<
int
> (
e
);
23
foo
.
Test
=
e
;
24
}
25
}