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

test-341.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 649dcbc618a8f19484043a52ddfc928dea20f949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Runtime.InteropServices;
 
class Test {
	[DllImport (Libs.MyLib)]
	private static extern void foo ();
 
	public static void Main ()
	{
	}
}
 
class Libs : Bar {
}

class Bar : Foo {
	internal const string MyLib = "SomeLibrary";
}

class Foo {
}