diff options
author | Marek Safar <marek.safar@gmail.com> | 2012-12-04 21:28:38 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2012-12-04 21:47:02 +0400 |
commit | e3484720bb641120e4d77d2e7bda7a62b3593fcf (patch) | |
tree | 03c3eebd65f233c212eaa0f1005b8a1a86dce933 /mcs/class/System.ServiceModel.Web | |
parent | a61f1d1c1d5a7b223ccb05221c8aecde13c8869b (diff) |
Add MOBILE defines to 4.0 code
Diffstat (limited to 'mcs/class/System.ServiceModel.Web')
-rw-r--r-- | mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs index 587880e9c6c..9857450eded 100644 --- a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs +++ b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs @@ -111,7 +111,7 @@ namespace System.ServiceModel.Web // do nothing } -#if NET_4_0 +#if NET_4_0 && !MOBILE static readonly XmlWriterSettings settings = new XmlWriterSettings () { OmitXmlDeclaration = true, Indent = false }; XmlSerializer document_serializer, feed_serializer, item_serializer; |