Revert some changes which don't have proper dependencies.
[mono-project.git] / mono / tests / dim-sealed.il
blobc2287219a96f4ce550bc97270f5ab78998823b94
2 //  Microsoft (R) .NET Framework IL Disassembler.  Version 4.6.1055.0
3 //  Copyright (c) Microsoft Corporation.  All rights reserved.
7 // Metadata version: v4.0.30319
8 .assembly extern mscorlib
10   .ver 4:0:0:0
11   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
13 .assembly 'sealed'
15   .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::'.ctor'(int32) =  (01 00 08 00 00 00 00 00 ) // ........
17   .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() =  (
18                 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
19                 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) // ceptionThrows.
21   .custom instance void class [mscorlib]System.Diagnostics.DebuggableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) =  (01 00 07 01 00 00 00 00 ) // ........
23   .hash algorithm 0x00008004
24   .ver  0:0:0:0
26 .module sealed.exe // GUID = {A4E97AD7-126F-4034-838B-627DE47F9E63}
29   .class interface private auto ansi abstract I1
30   {
32     // method line 1
33     .method public hidebysig 
34            instance default void M1 ()  cil managed 
35     {
36         // Method begins at RVA 0x2050
37         // Code size 13 (0xd)
38         .maxstack 8
39         IL_0000:  nop 
40         IL_0001:  ldstr "M1"
41         IL_0006:  call void class [mscorlib]System.Console::WriteLine(string)
42         IL_000b:  nop 
43         IL_000c:  ret 
44     } // end of method I1::M1
46   } // end of class I1
48   .class interface private auto ansi abstract I2
49         implements I1  {
51     // method line 2
52     .method public static hidebysig 
53            default void Test<(class I2) T> (!!T x)  cil managed 
54     {
55         // Method begins at RVA 0x205e
56         // Code size 16 (0x10)
57         .maxstack 8
58         IL_0000:  nop 
59         IL_0001:  ldarga.s 0
60         IL_0003:  constrained. !!0
61         IL_0009:  callvirt instance void class I1::M1()
62         IL_000e:  nop 
63         IL_000f:  ret 
64     } // end of method I2::Test
66   } // end of class I2
68   .class private auto ansi beforefieldinit A
69         extends [mscorlib]System.Object
70         implements I2, I1  {
72     // method line 3
73     .method private static hidebysig 
74            default void Main ()  cil managed 
75     {
76         // Method begins at RVA 0x206f
77         .entrypoint
78         // Code size 13 (0xd)
79         .maxstack 8
80         IL_0000:  nop 
81         IL_0001:  newobj instance void class A::'.ctor'()
82         IL_0006:  call void class I2::Test<class A> (!!0)
83         IL_000b:  nop 
84         IL_000c:  ret 
85     } // end of method A::Main
87     // method line 4
88     .method public hidebysig specialname rtspecialname 
89            instance default void '.ctor' ()  cil managed 
90     {
91         // Method begins at RVA 0x207d
92         // Code size 8 (0x8)
93         .maxstack 8
94         IL_0000:  ldarg.0 
95         IL_0001:  call instance void object::'.ctor'()
96         IL_0006:  nop 
97         IL_0007:  ret 
98     } // end of method A::.ctor
100   } // end of class A