Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / tests / gtest-278-2-lib.cs
index 72e491333d88e58f204e66fb2fb9fd1ccddbcae3..3614f024d9f2eb81ebf1b65e9bbb8c7f99647c16 100644 (file)
@@ -1,10 +1,19 @@
 // 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 class CC
+       {
+               public static string Print ()
+               {
+                       return typeof (CC).FullName;
+               }
+       }
 
        public static string Print ()
        {
@@ -19,3 +28,11 @@ public class D
                return typeof (D).FullName;
        }
 }
+
+public struct G<T>
+{
+       public static T Test (T t)
+       {
+               return t;
+       }
+}