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

◆ CheckParticleDerivation()

void System.Xml.Schema.SchemaCollectionCompiler.CheckParticleDerivation ( XmlSchemaComplexType complexType)
inlineprivate

Definition at line 957 of file SchemaCollectionCompiler.cs.

958 {
959 if (complexType.BaseXmlSchemaType is XmlSchemaComplexType xmlSchemaComplexType && xmlSchemaComplexType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.Restriction && !IsValidRestriction(complexType.ContentTypeParticle, xmlSchemaComplexType.ContentTypeParticle))
960 {
962 }
963 }
static string Sch_InvalidParticleRestriction
Definition SR.cs:988
Definition SR.cs:7
void SendValidationEvent(string code, XmlSchemaObject source)
bool IsValidRestriction(XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle)

References System.Xml.Schema.XmlSchemaComplexType.AnyType, System.Xml.Schema.SchemaCollectionCompiler.IsValidRestriction(), System.SR.Sch_InvalidParticleRestriction, and System.Xml.Schema.BaseProcessor.SendValidationEvent().

Referenced by System.Xml.Schema.SchemaCollectionCompiler.Compile().