Merge pull request #3522 from henricm/fix-csharp-compiler-path-windows
[mono.git] / mono / tests / verifier / badmd_type_extends_gtd.il
1 .assembly extern mscorlib
2 {
3   .ver 2:0:0:0
4   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
5 }
6 .assembly 'test'
7 {
8   .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() =  (
9                 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
10                 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) // ceptionThrows.
11
12   .hash algorithm 0x00008004
13   .ver  0:0:0:0
14 }
15 .module test.exe // GUID = {A8D53569-66DA-4F08-92BD-595A17CE93AC}
16
17
18   .class public auto ansi beforefieldinit Foo`1<T>
19         extends [mscorlib]System.Object
20   {
21
22     // method line 1
23     .method public hidebysig specialname rtspecialname 
24            instance default void '.ctor' ()  cil managed 
25     {
26         // Method begins at RVA 0x20ec
27         // Code size 7 (0x7)
28         .maxstack 8
29         IL_0000:  ldarg.0 
30         IL_0001:  call instance void object::'.ctor'()
31         IL_0006:  ret 
32     } // end of method Foo`1::.ctor
33
34   } // end of class Foo`1
35
36   .class public auto ansi beforefieldinit Bar`1<T>
37         extends class Foo`1
38   {
39
40     // method line 2
41     .method public hidebysig specialname rtspecialname 
42            instance default void '.ctor' ()  cil managed 
43     {
44         // Method begins at RVA 0x20f4
45         // Code size 7 (0x7)
46         .maxstack 8
47         IL_0000:  ldarg.0 
48         IL_0001:  call instance void class Foo`1::'.ctor'()
49         IL_0006:  ret 
50     } // end of method Bar`1::.ctor
51
52   } // end of class Bar`1
53
54   .class public auto ansi beforefieldinit Bla
55         extends [mscorlib]System.Object
56   {
57
58     // method line 3
59     .method public hidebysig specialname rtspecialname 
60            instance default void '.ctor' ()  cil managed 
61     {
62         // Method begins at RVA 0x20fc
63         // Code size 7 (0x7)
64         .maxstack 8
65         IL_0000:  ldarg.0 
66         IL_0001:  call instance void object::'.ctor'()
67         IL_0006:  ret 
68     } // end of method Bla::.ctor
69
70     // method line 4
71     .method public static hidebysig 
72            default void Main ()  cil managed 
73     {
74         // Method begins at RVA 0x2104
75         .entrypoint
76         // Code size 1 (0x1)
77         .maxstack 8
78         IL_0000:  ret 
79     } // end of method Bla::Main
80
81   } // end of class Bla
82