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

◆ GetMappingParticle()

int System.Xml.Schema.Compiler.GetMappingParticle ( XmlSchemaParticle particle,
XmlSchemaObjectCollection collection )
inlineprivate

Definition at line 1723 of file Compiler.cs.

1724 {
1725 for (int i = 0; i < collection.Count; i++)
1726 {
1727 if (IsValidRestriction(particle, (XmlSchemaParticle)collection[i]))
1728 {
1729 return i;
1730 }
1731 }
1732 return -1;
1733 }
bool IsValidRestriction(XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle)
Definition Compiler.cs:1368

References System.collection, and System.Xml.Schema.Compiler.IsValidRestriction().

Referenced by System.Xml.Schema.Compiler.IsChoiceFromChoiceSubstGroup(), System.Xml.Schema.Compiler.IsSequenceFromAll(), and System.Xml.Schema.Compiler.IsSequenceFromChoice().