2008-08-31 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / test-597.cs
blob87b04dde62c7533373d1c5108e7041fd5c691750
1 namespace TestNS
3 public interface IHoge {}
5 public class Foo {}
7 public class XElement : Element
9 public new Bar Document { get { return null; } }
11 public object CrashHere {
12 get { return (Document.Root == this) ? null : ""; }
16 public class Element
18 public Foo Document { get { return null; } }
21 public class Bar
23 public IHoge Root { get { return null; } }
26 public class C
28 public static void Main ()