Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@ -47,9 +47,9 @@ namespace System.ServiceModel.Channels {
return CreateNavigator (XmlSpace.Default);
}
public XPathNavigator CreateNavigator (int node_quota)
public XPathNavigator CreateNavigator (int nodeQuota)
{
return CreateNavigator (node_quota, XmlSpace.Default);
return CreateNavigator (nodeQuota, XmlSpace.Default);
}
[MonoTODO ("supply proper quota")]
@ -60,10 +60,10 @@ namespace System.ServiceModel.Channels {
}
[MonoTODO ("Handle node_quota and xmlspace")]
public XPathNavigator CreateNavigator (int node_quota, XmlSpace space)
public XPathNavigator CreateNavigator (int nodeQuota, XmlSpace space)
{
if (nav_cache == null) {
DTMXPathDocumentWriter2 pw = new DTMXPathDocumentWriter2 (new NameTable (), node_quota);
DTMXPathDocumentWriter2 pw = new DTMXPathDocumentWriter2 (new NameTable (), nodeQuota);
XmlDictionaryWriter w = XmlDictionaryWriter.CreateDictionaryWriter (pw);
CreateMessage ().WriteMessage (w);
nav_cache = pw.CreateDocument ().CreateNavigator ();