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

◆ ParseFragmentAttribute()

bool System.Xml.XmlTextReaderImpl.ParseFragmentAttribute ( )
inlineprivate

Definition at line 7698 of file XmlTextReaderImpl.cs.

7699 {
7700 if (_curNode.type == XmlNodeType.None)
7701 {
7702 _curNode.type = XmlNodeType.Attribute;
7703 _curAttrIndex = 0;
7705 }
7706 else
7707 {
7708 _parsingFunction = ParsingFunction.InReadAttributeValue;
7709 }
7710 if (ReadAttributeValue())
7711 {
7712 _parsingFunction = ParsingFunction.FragmentAttribute;
7713 return true;
7714 }
7715 OnEof();
7716 return false;
7717 }
void ParseAttributeValueSlow(int curPos, char quoteChar, NodeData attr)

References System.Xml.XmlTextReaderImpl._curAttrIndex, System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.OnEof(), System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(), System.Xml.XmlTextReaderImpl.ReadAttributeValue(), and System.Xml.XmlTextReaderImpl.NodeData.type.

Referenced by System.Xml.XmlTextReaderImpl.Read(), and System.Xml.XmlTextReaderImpl.ReadAsync().