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
;
7 // this is from test-externalias-01-lib.dll
12 public static int Main ()
14 // This shouldn't produce a clash
15 if (MyClass1
.StaticMethod () != 2)
17 if (GlobalClass
.StaticMethod () != 2)
20 if (MyAssembly01
::GlobalClass
.StaticMethod () != 1)
22 if (MyAssembly02
::GlobalClass
.StaticMethod () != 2)