Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReplaceSelf() [2/3]

virtual void System.Xml.XPath.XPathNavigator.ReplaceSelf ( XmlReader newNode)
inlinevirtualinherited

Definition at line 1441 of file XPathNavigator.cs.

1442 {
1443 if (newNode == null)
1444 {
1445 throw new ArgumentNullException("newNode");
1446 }
1447 XPathNodeType nodeType = NodeType;
1448 if (nodeType == XPathNodeType.Root || nodeType == XPathNodeType.Attribute || nodeType == XPathNodeType.Namespace)
1449 {
1451 }
1452 XmlWriter xmlWriter = ReplaceRange(this);
1454 xmlWriter.Close();
1455 }
static string Xpn_BadPosition
Definition SR.cs:1316
Definition SR.cs:7
virtual XmlWriter ReplaceRange(XPathNavigator lastSiblingToReplace)
void BuildSubtree(XmlReader reader, XmlWriter writer)

References System.Xml.XPath.XPathNavigator.BuildSubtree(), System.Xml.XPath.XPathNavigator.NodeType, System.Xml.XPath.XPathNavigator.ReplaceRange(), and System.SR.Xpn_BadPosition.