[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-externalias-01-lib.cs
1 // Compiler options: -t:library
2
3 using System;
4
5 public class GlobalClass
6 {
7         public int InstanceMethod ()
8         {
9                 return 2;
10         }
11         
12         public static int StaticMethod ()
13         {
14                 return 2;
15         }
16
17         public static void JustForSecond ()
18         {
19         }
20 }
21
22 namespace Namespace1 
23 {
24         public class MyClass1
25         {
26                 public int InstanceMethod ()
27                 {
28                         return 2;
29                 }
30                 
31                 public static int StaticMethod ()
32                 {
33                         return 2;
34                 }
35                 
36                 public class MyNestedClass1
37                 {
38                         public int InstanceMethod ()
39                         {
40                                 return 2;
41                         }
42
43                         public static int StaticMethod ()
44                         {
45                                 return 2;
46                         }
47                 }
48
49                 public static void JustForSecond ()
50                 {
51                 }
52         }
53
54         namespace Namespace2
55         {
56                 public class MyClass2
57                 {
58                         public class MyNestedClass2
59                         {
60                                 public int InstanceMethod ()
61                                 {
62                                         return 2;
63                                 }
64
65                                 public static int StaticMethod ()
66                                 {
67                                         return 2;
68                                 }
69                         }
70                         
71                         public int InstanceMethod ()
72                         {
73                                 return 2;
74                         }
75                         
76                         public static int StaticMethod ()
77                         {
78                                 return 2;
79                         }
80
81                         public static void JustForFirst ()
82                         {
83                         }
84                 }
85
86         }
87 }
88