in System.Collections.Generic:
[mcs.git] / tests / test-externalias-08.cs
blob2aeb1994b380d826c13a6666ecf5c6446dc4ccc2
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 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;