1 // Test for : inheriting generic base class and implementing generic interfaces
3 .assembly extern mscorlib
7 .assembly 'gen-interf-1'
9 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = (
10 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
11 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
17 .class interface private auto ansi abstract IGen`1<T>
21 .class interface private auto ansi abstract IFen`1<T>
25 .class interface private auto ansi abstract ISimple
29 .class private auto ansi beforefieldinit cbase`1<Z>
30 extends [mscorlib]System.Object
32 .method public hidebysig specialname rtspecialname
33 instance default void .ctor () cil managed
35 .locals init (class cbase`1<int32>[] c)
38 IL_0001: call instance void object::.ctor()
44 /* Inherits a generic base class and implements generic interfaces */
45 .class private auto ansi beforefieldinit gen_another`2<A,B>
46 extends class cbase`1<!1>
47 implements class IGen`1<!0>, class IFen`1<!1>, ISimple {
51 /* Inherits a generic base class and implements generic interfaces,
52 but uses !A (type param name) instead of index */
53 .class private auto ansi beforefieldinit badname`2<A,B>
54 extends class cbase`1<!B>
55 implements class IGen`1<!A>, class IFen`1<!B>, ISimple {