Debian Codegraph @

mcs/tests/gtest-autoproperty-19.cs

raw symbols SCIP
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 }