Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / tests / gtest-exmethod-06.cs
1 // Compiler options: -langversion:linq
2
3 public static class Gen
4 {
5         public static T Test_1<T> (this T t)
6         {
7                 return default (T);
8         }
9         
10         public static string Test_1<T> (this string s)
11         {
12                 return ":";
13         }
14 }
15
16 namespace B
17 {
18         public class M
19         {
20                 public static void Main ()
21                 {
22                         "".Test_1();
23                         4.Test_1();
24                         new M().Test_1();
25                         
26                         //null.Test_1();
27                 }
28         }
29 }