terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ HandleEntityReference() [2/2]

bool System.Xml.DtdParser.HandleEntityReference ( XmlQualifiedName entityName,
bool paramEntity,
bool inLiteral,
bool inAttribute )
inlineprivate

Definition at line 1622 of file DtdParser.cs.

1623 {
1625 do
1626 {
1627 int num = this.curPos;
1628 this.SaveParsingBuffer(num);
1629 if (this.externalEntitiesDepth == 0 && this.scanningFunction != DtdParser.ScanningFunction.SubsetContent && this.savedScanningFunction != DtdParser.ScanningFunction.SubsetContent)
1630 {
1631 string name = entityName.name;
1632 int num2 = this.curPos;
1633 int stringLength = name._stringLength;
1634 this.Throw(num, "A parameter entity reference is not allowed in internal markup.");
1635 }
1636 }
1637 while (schemaEntity == null);
1638 if (schemaEntity.parsingInProgress)
1639 {
1640 int stringLength2 = entityName.name._stringLength;
1641 int num3 = this.curPos;
1642 }
1643 if (schemaEntity.isExternal)
1644 {
1645 IDtdParserAdapter dtdParserAdapter = this.readerAdapter;
1646 if ("General entity '{0}' references itself." != null)
1647 {
1648 }
1649 }
1650 if (schemaEntity.text._stringLength != 0)
1651 {
1652 IDtdParserAdapter dtdParserAdapter2 = this.readerAdapter;
1653 if ("General entity '{0}' references itself." != null)
1654 {
1655 }
1656 int num4 = this.externalEntitiesDepth;
1661 int num5 = 32;
1662 this.scanningFunction = (DtdParser.ScanningFunction)num5;
1663 this.LoadParsingBuffer();
1664 return;
1665 }
1666 }
class f__AnonymousType0<< Count > j__TPar
IDtdParserAdapter readerAdapter
DtdParser.ScanningFunction scanningFunction
void Throw(int curPos, string res)

References System.Xml.DtdParser.curPos, System.Xml.DtdParser.externalEntitiesDepth, System.Xml.Schema.SchemaEntity.isExternal, j__TPar, System.Xml.DtdParser.LoadParsingBuffer(), System.name, System.Xml.DtdParser.readerAdapter, System.Xml.DtdParser.SaveParsingBuffer(), System.Xml.DtdParser.scanningFunction, System.Xml.Schema.SchemaEntity.text, and System.Xml.DtdParser.Throw().