[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[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 }