codeowners update
[mono.git] / mcs / tests / gtest-278-2-lib.cs
index c23e5ee1908c56d966ba2b08368a05cc1f30dd32..3614f024d9f2eb81ebf1b65e9bbb8c7f99647c16 100644 (file)
@@ -1,13 +1,38 @@
-// Compiler options: -t:library\r
-\r
-using System;\r
-\r
-public class C\r
-{\r
-       public class CC {}\r
-\r
-       public static string Print ()\r
-       {\r
-               return typeof (C).FullName;\r
-       }\r
-}
\ No newline at end of file
+// Compiler options: -t:library
+
+// CECIL FIXME: Every method should actually throw new ApplicationException ("Should not be called");
+// but because mcs dependency on System.Reflection it cannot be done
+
+using System;
+
+public class C
+{
+       public class CC
+       {
+               public static string Print ()
+               {
+                       return typeof (CC).FullName;
+               }
+       }
+
+       public static string Print ()
+       {
+               return typeof (C).FullName;
+       }
+}
+
+public class D
+{
+       public static string Print ()
+       {
+               return typeof (D).FullName;
+       }
+}
+
+public struct G<T>
+{
+       public static T Test (T t)
+       {
+               return t;
+       }
+}