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:
authorLudovic Henry <ludovic@xamarin.com>2016-08-17 18:40:30 +0300
committerLudovic Henry <ludovic@xamarin.com>2016-08-18 17:34:36 +0300
commit249daf43de9c64fefe9f103fc15bb462665b0167 (patch)
tree9c18ba262b604ee5b6d153444ffdee94eb4ec8c3 /mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
parent86e6221becd662c7e4f8f5e1284146c66da5c4a1 (diff)
[mcs] Replace NET_2_1 by MOBILE
NET_2_1 is also defined whenever we define MOBILE, so they have the same effect. Silverlight was 2.1 but it's been dead for a while now, and we do not even support it.
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs')
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
index 7216a169e46..27553b18c7e 100644
--- a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
@@ -259,7 +259,7 @@ namespace System.Reflection.Emit
public void AddDeclarativeSecurity (SecurityAction action, PermissionSet pset)
{
-#if !NET_2_1
+#if !MOBILE
if (pset == null)
throw new ArgumentNullException ("pset");
if ((action == SecurityAction.RequestMinimum) ||