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

◆ ReadElementContentAsUniqueId()

override UniqueId System.Xml.XmlBinaryReader.ReadElementContentAsUniqueId ( )
inlinevirtual

Reimplemented from System.Xml.XmlDictionaryReader.

Definition at line 298 of file XmlBinaryReader.cs.

299 {
300 if (base.Node.NodeType != XmlNodeType.Element)
301 {
303 }
304 if (CanOptimizeReadElementContent() && GetNodeType() == XmlBinaryNodeType.UniqueIdTextWithEndElement)
305 {
306 SkipNodeType();
307 UniqueId result = base.BufferReader.ReadUniqueId();
309 return result;
310 }
311 return base.ReadElementContentAsUniqueId();
312 }
XmlBinaryNodeType GetNodeType()

References System.Xml.XmlBinaryReader.CanOptimizeReadElementContent(), System.Xml.Dictionary, System.Xml.XmlBinaryReader.GetNodeType(), System.Xml.XmlDictionaryReader.MoveToStartElement(), System.Xml.XmlBinaryReader.ReadTextWithEndElement(), and System.Xml.XmlBinaryReader.SkipNodeType().