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

◆ ValidateAttributes()

void System.Xml.XsdValidatingReader.ValidateAttributes ( )
inlineprivate

Definition at line 1636 of file XsdValidatingReader.cs.

1637 {
1639 int num = 0;
1640 bool flag = false;
1642 {
1643 do
1644 {
1645 string localName = _coreReader.LocalName;
1647 AttributePSVIInfo attributePSVIInfo = AddAttributePSVI(num);
1648 attributePSVIInfo.localName = localName;
1650 if ((object)namespaceURI == _nsXmlNs)
1651 {
1652 num++;
1653 continue;
1654 }
1656 if (!flag)
1657 {
1659 }
1660 num++;
1661 }
1663 }
1665 if (flag)
1666 {
1668 }
1671 }
object? ValidateAttribute(string localName, string namespaceUri, string attributeValue, XmlSchemaInfo? schemaInfo)
void GetUnspecifiedDefaultAttributes(ArrayList defaultAttributes)
AttributePSVIInfo AddAttributePSVI(int attIndex)

References System.Xml.XsdValidatingReader._attributeCount, System.Xml.XsdValidatingReader._coreReader, System.Xml.XsdValidatingReader._coreReaderAttributeCount, System.Xml.XsdValidatingReader._defaultAttributes, System.Xml.XsdValidatingReader._nsXmlNs, System.Xml.XsdValidatingReader._validator, System.Xml.XsdValidatingReader._valueGetter, System.Xml.XsdValidatingReader.AddAttributePSVI(), System.Xml.XmlReader.AttributeCount, System.Collections.ArrayList.Count, System.Xml.Dictionary, System.Xml.Schema.XmlSchemaValidator.GetUnspecifiedDefaultAttributes(), System.Xml.XmlReader.LocalName, System.Xml.XmlReader.MoveToElement(), System.Xml.XmlReader.MoveToFirstAttribute(), System.Xml.XmlReader.MoveToNextAttribute(), System.Xml.XmlReader.NamespaceURI, and System.Xml.Schema.XmlSchemaValidator.ValidateAttribute().

Referenced by System.Xml.XsdValidatingReader.ProcessElementEvent(), and System.Xml.XsdValidatingReader.ProcessElementEventAsync().