* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-537.cs
blobe0128cc6819722ecb74780e8b1ef90de5f82946c
1 using System;
2 class Base
4 protected string H {
5 get {
6 return "Base.H";
11 // #1
12 class X {
13 class Derived : Base
15 public class Nested : Base
17 public void G() {
18 Derived[] d = new Derived[0];
19 Console.WriteLine(d[0].H);
25 // #2
26 class Derived: Base
28 public class Nested : Base
30 public void G() {
31 Derived d = new Derived();
32 Console.WriteLine(d.H);
38 class Test
40 static void Main()