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

◆ VerifyEntityReference()

SchemaEntity System.Xml.DtdParser.VerifyEntityReference ( XmlQualifiedName entityName,
bool paramEntity,
bool mustBeDeclared,
bool inAttribute )
inlineprivate

Definition at line 1702 of file DtdParser.cs.

1703 {
1704 int num = 1;
1706 long num2;
1707 if (num != 0)
1708 {
1709 num2 = 0L;
1710 string name = entityName.name;
1711 int num3 = this.curPos;
1712 int stringLength = name._stringLength;
1713 this.Throw((int)num2, "Reference to unparsed entity '{0}'.", name);
1714 if ("Reference to unparsed entity '{0}'." != null)
1715 {
1716 string name2 = entityName.name;
1717 int num4 = this.curPos;
1718 int stringLength2 = name2._stringLength;
1719 this.Throw((int)num2, "External entity '{0}' reference cannot appear in the attribute value.", name2);
1720 }
1721 }
1722 if (this.validate)
1723 {
1724 string name3 = entityName.name;
1725 if (this.externalEntitiesDepth != 0)
1726 {
1727 if (!this.validate)
1728 {
1729 return;
1730 }
1731 int stringLength3 = entityName.name._stringLength;
1732 int num5 = this.curPos;
1733 }
1734 string name4 = entityName.name;
1735 int num6 = this.curPos;
1736 int stringLength4 = name4._stringLength;
1737 this.Throw((int)num2, "Reference to undeclared entity '{0}'.", name4);
1738 return;
1739 }
1740 }
class f__AnonymousType0<< Count > j__TPar
void Throw(int curPos, string res)
SchemaInfo schemaInfo
Dictionary< XmlQualifiedName, SchemaEntity > ParameterEntities
Definition SchemaInfo.cs:94

References System.Xml.DtdParser.curPos, System.Xml.DtdParser.externalEntitiesDepth, j__TPar, System.L, System.name, System.Xml.XmlQualifiedName.name, System.Xml.Schema.SchemaInfo.ParameterEntities, System.Xml.DtdParser.schemaInfo, System.Xml.DtdParser.Throw(), and System.Xml.DtdParser.validate.