[mcs] Replace NET_2_1 by MOBILE
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Channels / MessageProperties.cs
index db1c8fd46b7c2dfa6dc72f6f2ef2f7f871a566d5..f46f2ffe2cfa5926ea8ed7e05b3d93231f812fbc 100644 (file)
@@ -98,7 +98,7 @@ namespace System.ServiceModel.Channels
                        }
                }
 
-#if !NET_2_1
+#if !MOBILE
                public SecurityMessageProperty Security {
                        get { return (SecurityMessageProperty) this ["Security"]; }
                        set { this ["Security"] = value; }