1 // Compiler options: -r:MyAssembly01=test-externalias-00-lib.dll -r:MyAssembly02=test-externalias-01-lib.dll
3 extern alias MyAssembly01
;
4 extern alias MyAssembly02
;
9 public static int Main ()
11 if (MyAssembly01
::Namespace1
.Namespace2
.MyClass2
.StaticMethod () != 1)
13 if (MyAssembly02
::Namespace1
.Namespace2
.MyClass2
.StaticMethod () != 2)
16 if (new MyAssembly01
::Namespace1
.Namespace2
.MyClass2 ().InstanceMethod () != 1)
18 if (new MyAssembly02
::Namespace1
.Namespace2
.MyClass2 ().InstanceMethod () != 2)