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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-autoproperty-19.cs
blob
58f9d0f037bd4ed82b79e102da02d9686b195cce
1
abstract class
Node
2
{
3
public virtual int
Next { get; }
4
}
5
6
class
NodeLinked
:
Node
7
{
8
public
NodeLinked
(
int
next
)
9
{
10
this
.
Next
=
next
;
11
}
12
13
public override int
Next { get; }
14
15
public static int
Main
()
16
{
17
var
nl
=
new
NodeLinked
(
5
);
18
if
(
nl
.
Next
!=
5
)
19
return
1
;
20
21
return
0
;
22
}
23
}