1 // Test for a generic class nested in a non-generic type
2 // with interface using named generic param ref (!B)
4 .assembly extern mscorlib
10 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = (
11 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
12 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
16 .module 'gen-nested.dll'
19 .class interface private auto ansi abstract IFoo`1<T>
24 .class private auto ansi beforefieldinit outer
25 extends [mscorlib]System.Object
28 .method public hidebysig specialname rtspecialname
29 instance default void .ctor () cil managed
33 IL_0001: call instance void object::.ctor()
37 /* Generic class nested in a non-generic class */
38 .class nested private auto ansi beforefieldinit inner`2<A,B>
39 extends [mscorlib]System.Object
40 implements class IFoo`1<!B> {
42 .method public hidebysig specialname rtspecialname
43 instance default void .ctor () cil managed
47 IL_0001: call instance void object::.ctor()