|
|
@@ -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 {
|