projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
tests
/
gtest-313.cs
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
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
}