repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git]
/
mcs
/
tests
/
test-341.cs
blob
649dcbc618a8f19484043a52ddfc928dea20f949
1
using
System
;
2
using
System
.
Runtime
.
InteropServices
;
3
4
class
Test
{
5
[
DllImport
(
Libs
.
MyLib
)]
6
private static extern void
foo
();
7
8
public static void
Main
()
9
{
10
}
11
}
12
13
class
Libs
:
Bar
{
14
}
15
16
class
Bar
:
Foo
{
17
internal const string
MyLib
=
"SomeLibrary"
;
18
}
19
20
class
Foo
{
21
}