Adds missing directive

This commit is contained in:
Jack Ma
2016-04-22 12:48:01 -07:00
parent 096b8f3576
commit dbb0e0932c
@@ -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;
} }