Merge pull request #600 from tr8dr/master
[mono.git] / mono / tests / verifier / badmd_constraint_must_be_visible.il
1 .assembly extern mscorlib
2 {
3 .ver 4: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 = {EBF85B14-B518-4DFE-8A10-5BBC0D700C94}
16
17 .class private auto ansi beforefieldinit Foo`1<(class [mscorlib]Mono.Interop.IUnknown) T> extends [mscorlib]System.Object
18 {
19         .method public hidebysig specialname rtspecialname  instance default void '.ctor' ()  cil managed 
20         {
21                 .maxstack 8
22                 IL_0000:  ldarg.0 
23                 IL_0001:  call instance void object::'.ctor'()
24                 IL_0006:  ret 
25         }
26 }
27
28 .class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
29 {
30         .method private static hidebysig default void Main ()  cil managed 
31         {
32                 .entrypoint
33                 .maxstack 8
34                 ldtoken Foo`1
35                 call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
36                 call void class [mscorlib]System.Console::WriteLine(object)
37                 IL_0000:  ret 
38         }
39 }
40