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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
tests
/
prog-2.cs
blob
fb7a2a5b4d1c89417ff435dae463bfeb2a5b28f2
1
// Compiler options: -r:dll-2.dll
2
3
using
System
;
4
using
System
.
Runtime
.
InteropServices
;
5
6
namespace
Foo
{
7
public class
Baz
{
8
[
DllImport
(
"foo.so"
,
CallingConvention
=
Bar
.
CConv
)]
9
public static extern void
doFoo
();
10
11
public static void
Main
()
12
{ }
13
}
14
}