Fix default SecurityManager properties to false (they should not be reached unless...
authorSebastien Pouliot <sebastien@xamarin.com>
Wed, 20 Jul 2011 22:45:35 +0000 (18:45 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 7 Nov 2012 16:52:41 +0000 (11:52 -0500)
mcs/class/corlib/System.Security/SecurityManager_mobile.cs

index ebda6ccbe7df10bd8d2811f5dab16e25329d3655..69b7e7fd4d0fdc314702818d241acca3aebd4b4e 100644 (file)
@@ -59,13 +59,13 @@ namespace System.Security {
                [Obsolete]
 #endif
                public static bool CheckExecutionRights {
-                       get { return true; }
+                       get { return false; }
                        set { ; }
                }
 
                [Obsolete ("The security manager cannot be turned off on MS runtime")]
                public static bool SecurityEnabled {
-                       get { return true; }
+                       get { return false; }
                        set { ; }
                }