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

◆ GetSchemaContentType()

XmlSchemaContentType System.Xml.Schema.SchemaCollectionCompiler.GetSchemaContentType ( XmlSchemaComplexType complexType,
XmlSchemaComplexContent complexContent,
XmlSchemaParticle particle )
inlineprivate

Definition at line 1584 of file SchemaCollectionCompiler.cs.

1585 {
1586 if ((complexContent != null && complexContent.IsMixed) || (complexContent == null && complexType.IsMixed))
1587 {
1588 return XmlSchemaContentType.Mixed;
1589 }
1590 if (particle != null && !particle.IsEmpty)
1591 {
1592 return XmlSchemaContentType.ElementOnly;
1593 }
1594 return XmlSchemaContentType.Empty;
1595 }

References System.Xml.Schema.XmlSchemaParticle.IsEmpty.

Referenced by System.Xml.Schema.SchemaCollectionCompiler.CompileComplexContentExtension(), System.Xml.Schema.SchemaCollectionCompiler.CompileComplexContentRestriction(), and System.Xml.Schema.SchemaCollectionCompiler.CompileComplexType().