Author: martin
Date: 2006-09-14 10:58:05 -0400 (Thu, 14 Sep 2006)
New Revision: 65402
Added:
Log:
New test.
Added:
2006-09-14 14:55:31 UTC (rev 65401)
2006-09-14 14:58:05 UTC (rev 65402)
@@ -0,0 +1,32 @@
+using System;
+
+public class Foo
+{
+protected delegate void Hello ();
+
+protected void Test (Hello hello)
+{
+hello ();
+}
+
+private void Private ()
+{
+Console.WriteLine ("Private!");
+}
+
+public void Test ()
+{
+Test (delegate {
+Private ();
+});
+}
+}
+
+class X
+{
+static void Main ()
+{
+Foo foo = new Foo ();
+foo.Test ();
+}
+}
Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com