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

◆ InitReadElementContentAsBinary()

bool System.Xml.XmlTextReaderImpl.InitReadElementContentAsBinary ( )
inlineprivate

Definition at line 8002 of file XmlTextReaderImpl.cs.

8003 {
8006 if (isEmptyElement)
8007 {
8008 return false;
8009 }
8011 {
8012 if (_curNode.type != XmlNodeType.EndElement)
8013 {
8015 }
8017 return false;
8018 }
8019 SetupReadContentAsBinaryState(ParsingFunction.InReadElementContentAsBinary);
8021 return true;
8022 }
static string Xml_InvalidNodeType
Definition SR.cs:88
Definition SR.cs:7
bool MoveToNextContentNode(bool moveIfOnContentNode)
void SetupReadContentAsBinaryState(ParsingFunction inReadBinaryFunction)
void Throw(int pos, string res, string arg)
void Set(int lineNo, int linePos)
Definition LineInfo.cs:15

References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._incReadLineInfo, System.Xml.XmlTextReaderImpl._outerReader, System.Xml.XmlTextReaderImpl.NodeData.IsEmptyElement, System.Xml.XmlTextReaderImpl.NodeData.LineNo, System.Xml.XmlTextReaderImpl.NodeData.LinePos, System.Xml.XmlTextReaderImpl.MoveToNextContentNode(), System.Xml.XmlReader.Read(), System.Xml.LineInfo.Set(), System.Xml.XmlTextReaderImpl.SetupReadContentAsBinaryState(), System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.NodeData.type, and System.SR.Xml_InvalidNodeType.

Referenced by System.Xml.XmlTextReaderImpl.ReadElementContentAsBase64(), and System.Xml.XmlTextReaderImpl.ReadElementContentAsBinHex().