Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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;
}
}