Author: martin
Date: 2006-10-04 16:47:55 -0400 (Wed, 04 Oct 2006)
New Revision: 66256
Added:
trunk/mcs/tests/test-anon-55.cs
Removed:
branches/martin/anonymous-methods/work/test-martin-30.cs
Log:
New test.
Deleted: branches/martin/anonymous-methods/work/test-martin-30.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-30.cs 2006-10-04
20:47:24 UTC (rev 66255)
+++ branches/martin/anonymous-methods/work/test-martin-30.cs 2006-10-04
20:47:55 UTC (rev 66256)
@@ -1,32 +0,0 @@
-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 ();
- }
-}
Copied: trunk/mcs/tests/test-anon-55.cs (from rev 66255,
branches/martin/anonymous-methods/work/test-martin-30.cs)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches