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

◆ IsValidGroupRedefine()

bool System.Xml.Schema.BaseProcessor.IsValidGroupRedefine ( XmlSchemaObject existingObject,
XmlSchemaObject item,
XmlSchemaObjectTable table )
inlineprivateinherited

Definition at line 166 of file BaseProcessor.cs.

167 {
168 XmlSchemaGroup xmlSchemaGroup = item as XmlSchemaGroup;
169 XmlSchemaGroup xmlSchemaGroup2 = existingObject as XmlSchemaGroup;
170 if (xmlSchemaGroup2 == xmlSchemaGroup.Redefined)
171 {
172 if (xmlSchemaGroup2.CanonicalParticle == null)
173 {
174 table.Insert(xmlSchemaGroup.QualifiedName, xmlSchemaGroup);
175 return true;
176 }
177 }
178 else if (xmlSchemaGroup2.Redefined == xmlSchemaGroup)
179 {
180 return true;
181 }
182 return false;
183 }

References System.Xml.Dictionary, System.Xml.Schema.XmlSchemaObjectTable.Insert(), and System.item.

Referenced by System.Xml.Schema.BaseProcessor.AddToTable().