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
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
test-832.cs
blob
a07aefb8998a2d9f858af6b49ff4b56efac52ee6
1
public class
A
2
{
3
public static int
Main
()
4
{
5
var
a
=
new
A
();
6
a
.
Test
();
7
if
(
a
.
Properties
.
P2
.
Value
!=
1
)
8
return
1
;
9
10
return
0
;
11
}
12
13
S s
=
new
S
(
55
);
14
15
void
Test
()
16
{
17
Properties
.
P2
.
Value
=
1
;
18
}
19
20
internal
S Properties
{
21
get
{ return s; }
22
}
23
}
24
25
struct
S
26
{
27
C c
;
28
29
public
S
(
int
i
)
30
{
31
c
=
new
C
();
32
}
33
34
public
C P2
35
{
36
get
{ return c; }
37
}
38
}
39
40
class
C
41
{
42
public int
Value
;
43
}