[arm64] Add the full neon regs to the context
[mono.git] / mono / tests / typeof-ptr.cs
index eea3d1072db436cb460a3b99d20eaafe1aed0784..69e75ca1745085f722d0d7b8ba7e29bc1a714847 100644 (file)
@@ -8,13 +8,19 @@ class T {
                ParameterInfo[] args = typeof (T).GetMethod ("meth").GetParameters ();
                if (args[0].ParameterType == args[1].ParameterType)
                        return 1;
-               
-               if (typeof(int) == typeof (int*))
-                       return 2;
+
+               unsafe { 
+                       if (typeof(int) == typeof (int*))
+                               return 2;
+               }
                if (args[0].ParameterType != typeof(int))
                        return 3;
-               if (args[1].ParameterType != typeof(int*))
-                       return 4;
+
+               unsafe { 
+                       if (args[1].ParameterType != typeof(int*))
+                               return 4;
+               }
+
                return 0;
        }
 }