{"action":"created","issue":{"url":"https://api.github.com/repos/paulcbetts/refit/issues/280","repository_url":"https://api.github.com/repos/paulcbetts/refit","labels_url":"https://api.github.com/repos/paulcbetts/refit/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/paulcbetts/refit/issues/280/comments","events_url":"https://api.github.com/repos/paulcbetts/refit/issues/280/events","html_url":"https://github.com/paulcbetts/refit/issues/280","id":191866359,"number":280,"title":"Error when calling method on UWP & Windows Phone 8.1","user":{"login":"tribalboy","id":10198620,"avatar_url":"https://avatars.githubusercontent.com/u/10198620?v=3","gravatar_id":"","url":"https://api.github.com/users/tribalboy","html_url":"https://github.com/tribalboy","followers_url":"https://api.github.com/users/tribalboy/followers","following_url":"https://api.github.com/users/tribalboy/following{/other_user}","gists_url":"https://api.github.com/users/tribalboy/gists{/gist_id}","starred_url":"https://api.github.com/users/tribalboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tribalboy/subscriptions","organizations_url":"https://api.github.com/users/tribalboy/orgs","repos_url":"https://api.github.com/users/tribalboy/repos","events_url":"https://api.github.com/users/tribalboy/events{/privacy}","received_events_url":"https://api.github.com/users/tribalboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-27T15:11:39Z","updated_at":"2016-11-27T15:39:28Z","closed_at":null,"body":"Hi Guys,\r\n\r\n  I have a Xamarin Forms prject which works fine on Android & iOS when using Refit 2.4.1 but I am getting errors when trying to use the same on UWP & WinPhone 8.1.\r\n\r\nI get the below error on UWP\r\n`  The API 'System.Array.get_LongLength()' cannot be used on the current platform. See http://go.microsoft.com/fwlink/?LinkId=248273 for more information.`\r\n\r\n& the one below on Windows Phone 8.1\r\n`The API 'System.Array.get_SyncRoot()' cannot be used on the current platform. See http://go.microsoft.com/fwlink/?LinkId=248273 for more information.`\r\n\r\nI have tried with the platform types x86, x64 & AnyCPU but the result is the same. The output from the debug window shows InvalidOperationException & the last assemblies loaded are the Serialization ones. \r\n\r\n```\r\n..\\System.Net.Primitives.dll'. Module was built without symbols.\r\n..\\System.Runtime.Serialization.Primitives.dll'. Module was built without symbols.\r\n\r\nException thrown: 'System.InvalidOperationException' in mscorlib.dll\r\nException thrown: 'System.InvalidOperationException' in mscorlib.dll\r\n```\r\n\r\nThis leads me to assume that Refit is having problems with Serialization. Can someone help me out as to how I can get round this.\r\n\r\nMany Thanks\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/paulcbetts/refit/issues/comments/263128847","html_url":"https://github.com/paulcbetts/refit/issues/280#issuecomment-263128847","issue_url":"https://api.github.com/repos/paulcbetts/refit/issues/280","id":263128847,"user":{"login":"onovotny","id":1427284,"avatar_url":"https://avatars.githubusercontent.com/u/1427284?v=3","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T15:39:28Z","updated_at":"2016-11-27T15:39:28Z","body":"Also, any kind of minimal repro?"}}
{"actor":{"display_login":"onovotny"}}