repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use MOONLIGHT symbol
[mcs.git]
/
ilasm
/
errors
/
err-pinvoke-a.il
blob
2a6b13a418b35ade5f16fecc30a584b2b2fdd51f
1
// Test for a pinvoke method with a body.
2
3
.assembly extern mscorlib { }
4
.assembly 'err-pinvoke-a' { }
5
6
7
.class public T {
8
9
.method public static pinvokeimpl ("test-pinvoke" as "ret_one" cdecl)
10
int32 RetOne () cil managed
11
{
12
ret
13
}
14
15
.method public static int32 test ()
16
{
17
.entrypoint
18
19
ret
20
}
21
22
}
23