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

◆ CleanupParticle()

void System.Xml.Schema.Compiler.CleanupParticle ( XmlSchemaParticle particle)
inlineprivate

Definition at line 395 of file Compiler.cs.

396 {
397 if (particle is XmlSchemaElement element)
398 {
399 CleanupElement(element);
400 }
401 else if (particle is XmlSchemaGroupBase xmlSchemaGroupBase)
402 {
403 for (int i = 0; i < xmlSchemaGroupBase.Items.Count; i++)
404 {
405 CleanupParticle((XmlSchemaParticle)xmlSchemaGroupBase.Items[i]);
406 }
407 }
408 }
void CleanupParticle(XmlSchemaParticle particle)
Definition Compiler.cs:395
void CleanupElement(XmlSchemaElement element)
Definition Compiler.cs:353

References System.Xml.Schema.Compiler.CleanupElement(), System.Xml.Schema.Compiler.CleanupParticle(), and System.Collections.Generic.Dictionary< TKey, TValue >.Count.

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