projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[msbuild] Bump msbuild, fix build breakage
[mono.git]
/
mcs
/
tests
/
gtest-autoproperty-19.cs
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
}