Skip to content

Commit bac9eed

Browse files
committed
Ok, I need to pay more attention
1 parent e0a9258 commit bac9eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RestSharp/Deserializers/XmlDeserializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ private void Map(object x, XElement root)
263263

264264
private static bool TryGetFromString(string inputString, out object result, Type type)
265265
{
266-
#if !SILVERLIGHT || WINDOWS_PHONE
266+
#if !SILVERLIGHT && !WINDOWS_PHONE
267267
var converter = TypeDescriptor.GetConverter(type);
268268
if (converter.CanConvertFrom(typeof(string)))
269269
{

0 commit comments

Comments
 (0)