Merge pull request #4935 from lambdageek/dev-handles-may
[mono.git] / mcs / tests / test-externalias-07.cs
1 // Compiler options: -r:MyAssembly01=test-externalias-00-lib.dll
2
3 using System;
4
5 namespace NS
6 {
7         extern alias MyAssembly01;
8         
9         public class MyClass
10         {
11                 public static int GetInt ()
12                 {
13                         return MyAssembly01::GlobalClass.StaticMethod ();
14                 }
15         }
16 }
17
18 public class Test
19 {
20         public static int Main ()
21         {
22                 if (NS.MyClass.GetInt () != 1)
23                         return 1;
24                 
25                 return 0;
26         }
27 }
28