Kill the MOONLIGHT define in System.ServiceModel.Web.
[mono.git] / mcs / class / System.ServiceModel.Web / System.Runtime.Serialization.Json / DataContractJsonSerializer.cs
index 355ea31dadb87c57ef8a008949b9fc245fbf2cfe..e9e45c0f732aeaa683318e14e13782cbfcac0c65 100644 (file)
@@ -91,7 +91,6 @@ namespace System.Runtime.Serialization.Json
                        always_emit_type = alwaysEmitTypeInformation;
                }
 
-#if !MOONLIGHT
                public DataContractJsonSerializer (Type type, IEnumerable<Type> knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, IDataContractSurrogate dataContractSurrogate, bool alwaysEmitTypeInformation)
             : this (type, default_root_name, knownTypes, maxItemsInObjectGraph, ignoreExtensionDataObject, alwaysEmitTypeInformation)
                {
@@ -107,7 +106,6 @@ namespace System.Runtime.Serialization.Json
                        : this (type, rootName != null ? rootName.Value : default_root_name, knownTypes, maxItemsInObjectGraph, ignoreExtensionDataObject, dataContractSurrogate, alwaysEmitTypeInformation)
                {
                }
-#endif
 
         #endregion
 
@@ -117,14 +115,12 @@ namespace System.Runtime.Serialization.Json
                int max_items;
                bool ignore_extension;
                bool always_emit_type;
-#if !MOONLIGHT
                IDataContractSurrogate surrogate;
 
                [MonoTODO]
                public IDataContractSurrogate DataContractSurrogate {
                        get { return surrogate; }
                }
-#endif
 
                [MonoTODO]
                public bool IgnoreExtensionDataObject {