29a3c1e5c2370d575dc69deaabec28c4ed113a3d
[mono.git] / mcs / ilasm / tests / gen-interf-1.il
1 // Test for : inheriting generic base class and implementing generic interfaces
2
3 .assembly extern mscorlib
4 {
5   .ver 2:0:0:0
6 }
7 .assembly 'gen-interf-1'
8 {
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.
12
13   .ver  0:0:0:0
14 }
15 .module interf.exe
16
17   .class interface private auto ansi abstract IGen`1<T>
18   {
19   }
20
21   .class interface private auto ansi abstract IFen`1<T>
22   {
23   }
24
25   .class interface private auto ansi abstract ISimple
26   {
27   }
28
29   .class private auto ansi beforefieldinit cbase`1<Z>
30         extends [mscorlib]System.Object
31   {
32     .method public hidebysig  specialname  rtspecialname 
33            instance default void .ctor ()  cil managed 
34     {
35         .locals init (class cbase`1<int32>[] c)
36         .maxstack 8
37         IL_0000:  ldarg.0 
38         IL_0001:  call instance void object::.ctor()
39         IL_0006:  ret 
40     }
41     
42    }
43
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  {
48
49    }