[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-externalias-08.cs
blob7a0919c3afb0add7e13e014f31de9c349d3ecc72
1 // Compiler options: -r:MyAssembly01=test-externalias-00-lib.dll -r:MyAssembly02=test-externalias-01-lib.dll -r:test-externalias-01-lib.dll
3 extern alias MyAssembly01;
4 extern alias MyAssembly02;
5 using System;
7 // this is from test-externalias-01-lib.dll
8 using Namespace1;
10 public class Test
12 public static int Main ()
14 // This shouldn't produce a clash
15 if (MyClass1.StaticMethod () != 2)
16 return 1;
17 if (GlobalClass.StaticMethod () != 2)
18 return 1;
20 if (MyAssembly01::GlobalClass.StaticMethod () != 1)
21 return 1;
22 if (MyAssembly02::GlobalClass.StaticMethod () != 2)
23 return 1;
25 return 0;