Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-externalias-05.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 059f699e8a9896c8bf5bbcdf7884b5fd797aa719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Compiler options: -r:MyAssembly01=test-externalias-00-lib.dll -r:MyAssembly02=test-externalias-01-lib.dll

extern alias MyAssembly01;
extern alias MyAssembly02;
using System;

public class Test
{
	public static void Main ()
	{
		MyAssembly01::GlobalClass.JustForFirst ();
		MyAssembly02::GlobalClass.JustForSecond ();
		
		MyAssembly01::Namespace1.MyClass1.JustForFirst ();
		MyAssembly02::Namespace1.MyClass1.JustForSecond ();
	}
}