2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / tests / test-anon-55.cs
blob7ccaaaf4f51c7ef0c29dca735810ba254b50c1f3
1 using System;
3 public class Foo
5 protected delegate void Hello ();
7 protected void Test (Hello hello)
9 hello ();
12 private void Private ()
14 Console.WriteLine ("Private!");
17 public void Test ()
19 Test (delegate {
20 Private ();
21 });
25 class X
27 static void Main ()
29 Foo foo = new Foo ();
30 foo.Test ();