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

◆ ReadElementContentAsGuid()

override Guid System.Xml.XmlBinaryReader.ReadElementContentAsGuid ( )
inlinevirtual

Reimplemented from System.Xml.XmlDictionaryReader.

Definition at line 282 of file XmlBinaryReader.cs.

283 {
284 if (base.Node.NodeType != XmlNodeType.Element)
285 {
287 }
288 if (CanOptimizeReadElementContent() && GetNodeType() == XmlBinaryNodeType.GuidTextWithEndElement)
289 {
290 SkipNodeType();
291 Guid result = base.BufferReader.ReadGuid();
293 return result;
294 }
295 return base.ReadElementContentAsGuid();
296 }
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().