[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / gtest-225.cs
blobdee948265b2dc47182d4386fc8ffede2d86c5c67
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 public static void Main ()