a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
32 lines
327 B
C#
32 lines
327 B
C#
using System;
|
|
|
|
public class Foo<T>
|
|
{
|
|
public readonly T Item;
|
|
|
|
public Foo (T item)
|
|
{
|
|
this.Item = item;
|
|
}
|
|
|
|
static void maketreer (out Node rest)
|
|
{
|
|
rest = new Node ();
|
|
}
|
|
|
|
class Node
|
|
{ }
|
|
|
|
public void Hello<U> ()
|
|
{
|
|
Foo<U>.Node node;
|
|
Foo<U>.maketreer (out node);
|
|
}
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|