Author: martin
Date: 2006-10-04 16:46:15 -0400 (Wed, 04 Oct 2006)
New Revision: 66253

Added:
   trunk/mcs/tests/test-anon-52.cs
Removed:
   branches/martin/anonymous-methods/work/test-martin-22.cs
Log:
New test.


Deleted: branches/martin/anonymous-methods/work/test-martin-22.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-22.cs    2006-10-04 
20:45:54 UTC (rev 66252)
+++ branches/martin/anonymous-methods/work/test-martin-22.cs    2006-10-04 
20:46:15 UTC (rev 66253)
@@ -1,26 +0,0 @@
-using System;
-using System.Collections;
- 
-class X {
-        delegate void A ();
- 
-        static IEnumerator GetIt (int [] args)
-        {
-                foreach (int arg in args) {
-                        Console.WriteLine ("OUT: {0}", arg);
-                        A a = delegate {
-                                Console.WriteLine ("arg: {0}", arg);
-                               return;
-                        };
-                        a ();
-                        yield return arg;
-                }
-        }
- 
-        static int Main ()
-        {
-                IEnumerator enumerator = GetIt (new int [] { 1, 2, 3});
-               enumerator.MoveNext ();
-                return 0;
-        }
-}

Copied: trunk/mcs/tests/test-anon-52.cs (from rev 66252, 
branches/martin/anonymous-methods/work/test-martin-22.cs)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to