[runtime] Fix a few more places which accessed jinfo->method directly.
[mono.git] / mono / mini / basic-long.cs
index 19c33016558ce9370177433000f1f37c5ba24f5d..11fa4e1b63c5689398c243139bac281091b077aa 100644 (file)
@@ -23,11 +23,18 @@ using System.Reflection;
  * the IL code looks.
  */
 
-class Tests {
-
-       public static int Main () {
-               return TestDriver.RunTests (typeof (Tests));
-       }
+#if MOBILE
+class LongTests
+#else
+class Tests
+#endif
+{
+
+#if !MOBILE
+       public static int Main (string[] args) {
+               return TestDriver.RunTests (typeof (Tests), args);
+       }
+#endif
 
        public static int test_10_simple_cast () {
                long a = 10;