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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-100.cs
blob
da77cf3cdda2faf007fd7c12c3fd7e484a3d671c
1
namespace
GLib
{
2
3
using
System
;
4
using
System
.
Runtime
.
InteropServices
;
5
6
public class
Object
{
7
int
v
;
8
9
protected int
Raw
{
10
get
{
11
return
1
;
12
}
13
set
{
14
v
=
value
;
15
}
16
}
17
18
[
DllImport
(
"bah"
,
CallingConvention
=
CallingConvention
.
Cdecl
)]
19
static extern void
g_object_get
(
int
obj
);
20
21
public void
GetProperty
()
22
{
23
g_object_get
(
Raw
);
24
}
25
26
static int
Main
()
27
{
28
return
0
;
29
}
30
}
31
}