Merge pull request #1861 from saper/home-override
[mono-project.git] / mcs / tests / test-anon-55.cs
blob6e1e9b92a06565919a4aa9873905ab316583cb68
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 public static void Main ()
29 Foo foo = new Foo ();
30 foo.Test ();