Author: martin
Date: 2006-10-04 16:50:55 -0400 (Wed, 04 Oct 2006)
New Revision: 66261
Added:
trunk/mcs/tests/gtest-anon-6.cs
Removed:
branches/martin/anonymous-methods/work/test-martin-6.cs
Log:
New test.
Deleted: branches/martin/anonymous-methods/work/test-martin-6.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-6.cs 2006-10-04
20:49:45 UTC (rev 66260)
+++ branches/martin/anonymous-methods/work/test-martin-6.cs 2006-10-04
20:50:55 UTC (rev 66261)
@@ -1,25 +0,0 @@
-using System;
-
-delegate void Foo<R,S> (R r, S s);
-
-class X
-{
- public void Hello<U,V> (U u, V v)
- { }
-
- public void Test<A,B,C> (A a, B b, C c)
- {
- Hello (a, b);
- C d = c;
- Foo<A,int> foo = delegate (A i, int j) {
- Hello (i, c);
- Hello (i, j);
- };
- }
-
- static void Main ()
- {
- X x = new X ();
- x.Test (3, Math.PI, 1 << 8);
- }
-}
Copied: trunk/mcs/tests/gtest-anon-6.cs (from rev 66260,
branches/martin/anonymous-methods/work/test-martin-6.cs)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches