Merge branch 'alexischr/nursery-canaries-managed-alloc'
[mono.git] / mono / tests / verifier / unverifiable_delegate_with_bad_bound_first_arg_to_static_method.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 'ltest-07'
7 {
8   .hash algorithm 0x00008004
9   .ver  0:0:0:0
10 }
11 .module 'ltest-07.exe'
12
13 .class public auto ansi sealed StringDelegate extends [mscorlib]System.MulticastDelegate
14 {
15         .method public hidebysig  specialname  rtspecialname instance default void '.ctor' (object 'object', native int 'method')  runtime managed 
16         {
17         }
18
19         .method public virtual  hidebysig  newslot instance default string Invoke ()  runtime managed 
20         {
21         }
22
23         .method public virtual  hidebysig  newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (class [mscorlib]System.AsyncCallback callback, object 'object')  runtime managed 
24         {
25         }
26
27         .method public virtual  hidebysig  newslot instance default string EndInvoke (class [mscorlib]System.IAsyncResult result)  runtime managed 
28         {
29         }
30 }
31
32 .class public auto ansi sealed StringStringDelegate extends [mscorlib]System.MulticastDelegate
33 {
34         .method public hidebysig  specialname  rtspecialname instance default void '.ctor' (object 'object', native int 'method')  runtime managed 
35         {
36         }
37
38         .method public virtual  hidebysig  newslot instance default string Invoke (string str)  runtime managed 
39         {
40         }
41
42         .method public virtual  hidebysig  newslot instance default class [mscorlib]System.IAsyncResult BeginInvoke (string str, class [mscorlib]System.AsyncCallback callback, object 'object')  runtime managed 
43         {
44         }
45
46         .method public virtual  hidebysig  newslot instance default string EndInvoke (class [mscorlib]System.IAsyncResult result)  runtime managed 
47         {
48         }
49 }
50
51 .class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
52 {
53         .method public static hidebysig default string Method1 (string str) cil managed 
54         {
55                 ldarg.0
56                 ret
57         }
58
59         .method public static hidebysig default void Main ()  cil managed 
60         {
61                 .entrypoint
62                 .maxstack 8
63                 .locals init (string loc_0, int32 loc_1)
64
65                 ldloc.1
66                 ldftn string class Driver::Method1(string)
67                 newobj instance void class StringDelegate::'.ctor'(object, native int)
68                 callvirt instance string class StringDelegate::Invoke()
69                 call void class [mscorlib]System.Console::WriteLine(string)
70
71                 ldloc.1
72                 ldftn string class Driver::Method1(string)
73                 newobj instance void class StringDelegate::'.ctor'(object, native int)
74                 callvirt instance string class StringDelegate::Invoke()
75                 call void class [mscorlib]System.Console::WriteLine(string)
76
77                 ret
78         }
79 }
80
81