[corlib] Improve CancellationTokenSource test
[mono.git] / mono / tests / verifier / invalid_return_value_invalid_in_context.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 'repro'
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 repro.exe
16
17
18 .class private auto ansi beforefieldinit Program extends [mscorlib]System.Object
19 {
20         .method private static hidebysig default !22 Test ()  cil managed 
21         {
22                 .maxstack 1
23                 .locals init ()
24                 ldnull
25                 ret
26         }
27
28         .method private static  hidebysig default int32 Main ()  cil managed 
29         {
30                 .entrypoint
31                 .maxstack 1
32                 .locals init ()
33                 call !22 Program::Test ()
34                 pop
35
36                 ldc.i4.0 
37                 ret
38         }
39 }
40