Author: marek
Date: 2007-12-22 08:18:15 -0500 (Sat, 22 Dec 2007)
New Revision: 91809
Added:
trunk/mcs/tests/gtest-exmethod-14.cs
Log:
New test.
Added: trunk/mcs/tests/gtest-exmethod-14.cs
===================================================================
--- trunk/mcs/tests/gtest-exmethod-14.cs 2007-12-22 13:17:48 UTC (rev
91808)
+++ trunk/mcs/tests/gtest-exmethod-14.cs 2007-12-22 13:18:15 UTC (rev
91809)
@@ -0,0 +1,29 @@
+// Compiler options: -langversion:linq
+
+using System;
+
+public interface IA
+{
+ void Foo (IA self);
+}
+
+public static class C
+{
+ public static void Foo (this IA self)
+ {
+ self.Foo<int> ();
+ }
+
+ public static void Bar<U> (this IA self)
+ {
+ self.Foo<U> ();
+ }
+
+ public static void Foo<T> (this IA self)
+ {
+ }
+
+ public static void Main ()
+ {
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches