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

31 lines
347 B
C#

using System;
class Value<T>
{
public static Value<T> Default = null;
}
class Test<T, U>
{
public Value<T> Value {
get { return null; }
}
public class B
{
public B (Value<U> arg)
{
}
public static B Default = new B (Value<U>.Default);
}
}
class C
{
public static void Main ()
{
var v = Test<int, string>.B.Default;
}
}