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

◆ AnalyzeAttributeCtor()

void System.Xml.Xsl.IlGen.XmlILElementAnalyzer.AnalyzeAttributeCtor ( QilBinary ndAttr,
XmlILConstructInfo info )
inlineprivate

Definition at line 51 of file XmlILElementAnalyzer.cs.

52 {
53 if (ndAttr.Left.NodeType == QilNodeType.LiteralQName)
54 {
58 {
59 XmlQualifiedName xmlQualifiedName = new XmlQualifiedName(_attrNames.Add(qilName.LocalName), _attrNames.Add(qilName.NamespaceUri));
60 int i;
61 for (i = 0; i < _dupAttrs.Count; i++)
62 {
63 XmlQualifiedName xmlQualifiedName2 = (XmlQualifiedName)_dupAttrs[i];
64 if ((object)xmlQualifiedName2.Name == xmlQualifiedName.Name && (object)xmlQualifiedName2.Namespace == xmlQualifiedName.Namespace)
65 {
67 }
68 }
69 if (i >= _dupAttrs.Count)
70 {
72 }
73 }
74 if (!info.IsNamespaceInScope)
75 {
77 }
78 }
79 else
80 {
82 }
83 }
virtual int Add(object? value)
override string Add(string key)
Definition NameTable.cs:33

References System.Xml.Xsl.IlGen.XmlILElementAnalyzer._attrNames, System.Xml.Xsl.IlGen.XmlILElementAnalyzer._dupAttrs, System.Collections.ArrayList.Add(), System.Xml.NameTable.Add(), System.Xml.Xsl.IlGen.XmlILElementAnalyzer.CheckAttributeNamespaceConstruct(), System.Collections.ArrayList.Count, System.Xml.Dictionary, System.info, System.Xml.Xsl.IlGen.XmlILConstructInfo.MightHaveDuplicateAttributes, and System.Xml.Xsl.IlGen.XmlILStateAnalyzer.parentInfo.

Referenced by System.Xml.Xsl.IlGen.XmlILElementAnalyzer.AnalyzeCopy().