Imported Upstream version 4.8.0.309

Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-11-10 13:04:39 +00:00
parent ee1447783b
commit 94b2861243
4912 changed files with 390737 additions and 49310 deletions

View File

@ -209,7 +209,7 @@ namespace System.ServiceModel.Channels
{
bool is_ref, must_understand, relay;
string actor;
#if NET_2_1
#if MOBILE
string body;
#else
// This is required to completely clone body xml that
@ -238,7 +238,7 @@ namespace System.ServiceModel.Channels
local_name = reader.LocalName;
namespace_uri = reader.NamespaceURI;
#if NET_2_1
#if MOBILE
body = reader.ReadOuterXml ();
#else
body = new XmlDocument ();
@ -250,7 +250,7 @@ namespace System.ServiceModel.Channels
public XmlReader CreateReader ()
{
#if NET_2_1
#if MOBILE
var reader = XmlReader.Create (new StringReader (body));
#else
var reader = new XmlNodeReader (body);