[sgen] Clear the card table in the finishing pause
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / RuntimeEnvironment.cs
index f0e84bc4ff25f4fa6ec0e2920e68abd41e2e9e4f..d2808208368d3309fc4fd3ae9ea82b32ca756d82 100644 (file)
@@ -65,7 +65,7 @@ namespace System.Runtime.InteropServices
                        return Path.GetDirectoryName (typeof (int).Assembly.Location);  
                }
 
-               [SecurityPermission (SecurityAction.Demand, UnmanagedCode = true)]
+               [SecuritySafeCritical]
                public static string GetSystemVersion ()
                {
                        return "v" + Environment.Version.Major + "." + Environment.Version.Minor + "." + Environment.Version.Build;