a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
272 B
C#
22 lines
272 B
C#
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 {
|
|
}
|