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

◆ CleanupParticle()

static void System.Xml.Schema.SchemaCollectionCompiler.CleanupParticle ( XmlSchemaParticle particle)
inlinestaticprivate

Definition at line 379 of file SchemaCollectionCompiler.cs.

380 {
381 if (particle is XmlSchemaElement)
382 {
383 CleanupElement((XmlSchemaElement)particle);
384 }
385 else if (particle is XmlSchemaGroupBase)
386 {
387 XmlSchemaObjectCollection items = ((XmlSchemaGroupBase)particle).Items;
388 for (int i = 0; i < items.Count; i++)
389 {
390 CleanupParticle((XmlSchemaParticle)items[i]);
391 }
392 }
393 }
static void CleanupElement(XmlSchemaElement element)
static void CleanupParticle(XmlSchemaParticle particle)

References System.Xml.Schema.SchemaCollectionCompiler.CleanupElement(), System.Xml.Schema.SchemaCollectionCompiler.CleanupParticle(), and System.Collections.CollectionBase.Count.

Referenced by System.Xml.Schema.SchemaCollectionCompiler.CleanupComplexType(), System.Xml.Schema.SchemaCollectionCompiler.CleanupGroup(), and System.Xml.Schema.SchemaCollectionCompiler.CleanupParticle().