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

◆ EatPublicKeyword()

bool System.Xml.DtdParser.EatPublicKeyword ( )
inlineprivate

Definition at line 2769 of file DtdParser.cs.

2770 {
2771 while (_charsUsed - _curPos < 6)
2772 {
2773 if (ReadData() == 0)
2774 {
2775 return false;
2776 }
2777 }
2778 if (_chars[_curPos + 1] != 'U' || _chars[_curPos + 2] != 'B' || _chars[_curPos + 3] != 'L' || _chars[_curPos + 4] != 'I' || _chars[_curPos + 5] != 'C')
2779 {
2780 return false;
2781 }
2782 _curPos += 6;
2783 return true;
2784 }

References System.Xml.DtdParser._chars, System.Xml.DtdParser._charsUsed, System.Xml.DtdParser._curPos, and System.Xml.DtdParser.ReadData().

Referenced by System.Xml.DtdParser.ScanDoctype1(), System.Xml.DtdParser.ScanEntity2(), and System.Xml.DtdParser.ScanNotation1().