* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / gtest-225.cs
blobac72b83fbbfa18ee11e7faa3def3ba48eafa9dc5
1 public class Set<Element>
3 protected readonly Node[] sub;
4 public Set () { }
6 public struct Locator
8 public delegate void Replace (Node node);
9 public Locator (Replace put) { }
12 public class Node : Set<Element>
13 { }
15 protected Locator locate (Element x)
17 Set<Element> parent = this;
18 return new Locator (new Locator.Replace (delegate (Node n) {
19 parent.sub[0] = n;
20 }));
24 static class SetTest
26 static void Main ()