a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
31 lines
347 B
C#
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;
|
|
}
|
|
}
|