}
}
+class A<U>
+{
+ public class Test<T>
+ {
+ public static Nested<T> Foo ()
+ {
+ return null;
+ }
+
+ public class Nested<X>
+ {
+ }
+ }
+}
+
class X
{
- static void Main ()
+ static int Main ()
{
Stack<int> stack = new Stack<int> (1);
INode<int> node = stack.GetNode ();
Stack<int>.Foo<int> foo = stack.GetFoo (7);
Stack<int>.Bar<int> bar = stack.GetBar (8);
+
+ A<bool>.Test<string>.Nested<string> v = A<bool>.Test<string>.Foo ();
+ return 0;
}
}
<method name="Void .ctor()">
<size>7</size>
</method>
- <method name="Void Main()">
- <size>31</size>
+ </type>
+ <type name="A`1[U]">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="A`1+Test`1[U,T]">
+ <method name="A`1+Test`1+Nested`1[U,T,T] Foo()">
+ <size>2</size>
+ </method>
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="A`1+Test`1+Nested`1[U,T,X]">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ </type>
+ <type name="X">
+ <method name="Int32 Main()">
+ <size>39</size>
</method>
</type>
</test>