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
/
gtest-430.cs
blob
cf1d40d0ca55071c17c238a275d38921094f6205
1
using
System
;
2
3
public class
Tmp
4
{
5
public int
stuff
;
6
}
7
public class
Driver
8
{
9
Tmp tmp
;
10
11
public int
?
Prop
{
12
get
{ return tmp != null ? tmp.stuff : (int?)null; }
13
}
14
15
public static int
Main
()
16
{
17
int
?
r
=
new
Driver
().
Prop
;
18
Console
.
WriteLine
(
r
);
19
return
r
.
HasValue
?
1
:
0
;
20
}
21
}