Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2009-02-19 22:18:56 +0300
committerRodrigo Kumpera <kumpera@gmail.com>2009-02-19 22:18:56 +0300
commitd9e84fc8f87b74d5e3479f675145d60afd5378ed (patch)
tree5d676ad57c2a76aefa977f7001e5144d280b075b /mcs/class/corlib/System.Security/SecurityManager.cs
parente6d4c99bd4c44b75067211bf37c7164dd6738b6a (diff)
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* SecurityManager.cs: Make core-clr work under non 2.1 profiles. svn path=/trunk/mcs/; revision=127442
Diffstat (limited to 'mcs/class/corlib/System.Security/SecurityManager.cs')
-rw-r--r--mcs/class/corlib/System.Security/SecurityManager.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/mcs/class/corlib/System.Security/SecurityManager.cs b/mcs/class/corlib/System.Security/SecurityManager.cs
index 06d174500bf..c5fabbfa255 100644
--- a/mcs/class/corlib/System.Security/SecurityManager.cs
+++ b/mcs/class/corlib/System.Security/SecurityManager.cs
@@ -734,7 +734,6 @@ namespace System.Security {
throw new SecurityException (message, an, granted, refused, method, SecurityAction.InheritanceDemand, null, null, null);
}
-#if NET_2_1
private static void MethodAccessException (IntPtr caller, IntPtr callee)
{
throw new MethodAccessException (Locale.GetText ("Method call not allowed."));
@@ -744,7 +743,6 @@ namespace System.Security {
{
throw new VerificationException (Locale.GetText ("Unsafe code encountered."));
}
-#endif
// internal - get called by the class loader