Adds missing directive
This commit is contained in:
@@ -1476,12 +1476,13 @@ namespace Newtonsoft.Json.Converters
|
|||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if !(DOTNET || PORTABLE)
|
||||||
if (objectType == typeof(XmlElement))
|
if (objectType == typeof(XmlElement))
|
||||||
{
|
{
|
||||||
return document.DocumentElement.WrappedNode;
|
return document.DocumentElement.WrappedNode;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return document.WrappedNode;
|
return document.WrappedNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user