a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
223 B
C#
19 lines
223 B
C#
// Test access to class fields outside the generic type declaration.
|
|
|
|
class Foo<T>
|
|
{
|
|
public T Hello;
|
|
|
|
public Foo ()
|
|
{ }
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
Foo<int> foo = new Foo<int> ();
|
|
foo.Hello = 9;
|
|
}
|
|
}
|