diff --git a/RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj b/RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj
index 83c7da106..679361fd1 100644
--- a/RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj
+++ b/RestSharp.IntegrationTests/RestSharp.IntegrationTests.csproj
@@ -39,6 +39,7 @@
4
AllRules.ruleset
bin\Release\RestSharp.IntegrationTests.xml
+ CS1591
diff --git a/RestSharp.Net4/RestSharp.Net4.csproj b/RestSharp.Net4/RestSharp.Net4.csproj
index 18d5d52ff..f9aa2dd31 100644
--- a/RestSharp.Net4/RestSharp.Net4.csproj
+++ b/RestSharp.Net4/RestSharp.Net4.csproj
@@ -33,6 +33,7 @@
prompt
4
bin\Release\RestSharp.xml
+ CS1591
diff --git a/RestSharp.Silverlight/RestSharp.Silverlight.csproj b/RestSharp.Silverlight/RestSharp.Silverlight.csproj
index d833d191a..f7907f701 100644
--- a/RestSharp.Silverlight/RestSharp.Silverlight.csproj
+++ b/RestSharp.Silverlight/RestSharp.Silverlight.csproj
@@ -48,6 +48,7 @@
prompt
4
Bin\Release\RestSharp.Silverlight.xml
+ CS1591
diff --git a/RestSharp.Tests/RestSharp.Tests.csproj b/RestSharp.Tests/RestSharp.Tests.csproj
index e2c466c47..83dcb7536 100644
--- a/RestSharp.Tests/RestSharp.Tests.csproj
+++ b/RestSharp.Tests/RestSharp.Tests.csproj
@@ -53,7 +53,8 @@
prompt
4
AllRules.ruleset
- bin\Release\RestSharp.Tests.xml
+
+
diff --git a/RestSharp.WindowsPhone/RestSharp.WindowsPhone.csproj b/RestSharp.WindowsPhone/RestSharp.WindowsPhone.csproj
index e2f61cbd7..d3f2c1688 100644
--- a/RestSharp.WindowsPhone/RestSharp.WindowsPhone.csproj
+++ b/RestSharp.WindowsPhone/RestSharp.WindowsPhone.csproj
@@ -43,6 +43,7 @@
prompt
4
Bin\Release\RestSharp.WindowsPhone.xml
+ CS1591
diff --git a/RestSharp/Deserializers/XmlDeserializer.cs b/RestSharp/Deserializers/XmlDeserializer.cs
index 64634b31c..2b9d27119 100644
--- a/RestSharp/Deserializers/XmlDeserializer.cs
+++ b/RestSharp/Deserializers/XmlDeserializer.cs
@@ -263,6 +263,7 @@ private void Map(object x, XElement root)
private static bool TryGetFromString(string inputString, out object result, Type type)
{
+#if !SILVERLIGHT
var converter = TypeDescriptor.GetConverter(type);
if (converter.CanConvertFrom(typeof(string)))
{
@@ -271,6 +272,10 @@ private static bool TryGetFromString(string inputString, out object result, Type
}
result = null;
return false;
+#else
+ result = null;
+ return false;
+#endif
}
private void PopulateListFromElements(Type t, IEnumerable elements, IList list)
diff --git a/RestSharp/RestSharp.csproj b/RestSharp/RestSharp.csproj
index c701ed09c..3cb98019b 100644
--- a/RestSharp/RestSharp.csproj
+++ b/RestSharp/RestSharp.csproj
@@ -56,6 +56,7 @@
4
AllRules.ruleset
bin\Release\RestSharp.xml
+ CS1591