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] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
gtest-026.cs
blob
a044d97ca801e369315ddb08e1333f47d4096be2
1
// Test access to class fields outside the generic type declaration.
2
3
class
Foo
<
T
>
4
{
5
public
T Hello
;
6
7
public
Foo
()
8
{ }
9
}
10
11
class
X
12
{
13
public static void
Main
()
14
{
15
Foo
<
int
>
foo
=
new
Foo
<
int
> ();
16
foo
.
Hello
=
9
;
17
}
18
}