ServiceStack/ServiceStack.Text — pull request #261 by anewton (2012-12-23 05:43:46+00:00)
Title: Fix for issue #260, Deserialize xml for Windows Phone

private static object Deserialize(string xml, Type type, XmlDictionaryReaderQuotas quotas)
{
try
{
#if WINDOWS_PHONE
StringReader stringReader = new StringReader(xml);
using (var reader = XmlDictionaryReader.Create(stringReader))
{
var serializer = new DataContractSerializer(type);
return serializer.ReadObject(reader);
}
#else