Merge pull request #5210 from alexrp/profiler-runtime-settings
[mono.git] / mono / tests / typeof-ptr.cs
index 3924f5040053c7b6f1b9481011e8666fa9c60c94..69e75ca1745085f722d0d7b8ba7e29bc1a714847 100644 (file)
@@ -15,8 +15,12 @@ class T {
                }
                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;
        }
 }