Avoid doubly declaring some types in the 2.1 profile for mobile
authorGeoff Norton <grompf@sublimeintervention.com>
Sat, 30 Apr 2011 15:48:44 +0000 (11:48 -0400)
committerGeoff Norton <grompf@sublimeintervention.com>
Sat, 30 Apr 2011 15:49:57 +0000 (11:49 -0400)
mcs/class/System.ServiceModel/Dummy_2_1.cs

index 01f20d08c59d575ee9575ad761ae5e63dea084b5..ccfade0ec0b669c1e9d24029c8567a784fab145b 100644 (file)
@@ -7,6 +7,7 @@ using System.ServiceModel.Dispatcher;
 using System.Text;
 using System.Xml;
 
+#if !MOBILE
 namespace System.Runtime.CompilerServices
 {
        // introduced for silverlight sdk compatibility
@@ -17,6 +18,7 @@ namespace System.Runtime.CompilerServices
                }
        }
 }
+#endif
 
 namespace System.ServiceModel
 {
@@ -169,6 +171,7 @@ namespace System.ServiceModel.Security
 {
        class Dummy {}
 }
+#if !MOBILE
 namespace System.Net.Security
 {
        public enum ProtectionLevel {None}
@@ -185,3 +188,4 @@ namespace Mono.Xml.XPath
 {
        class Dummy {}
 }
+#endif