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

◆ GetSchemaContentType()

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

Definition at line 1828 of file Compiler.cs.

1829 {
1830 if ((complexContent != null && complexContent.IsMixed) || (complexContent == null && complexType.IsMixed))
1831 {
1832 return XmlSchemaContentType.Mixed;
1833 }
1834 if (particle != null && !particle.IsEmpty)
1835 {
1836 return XmlSchemaContentType.ElementOnly;
1837 }
1838 return XmlSchemaContentType.Empty;
1839 }

References System.Xml.Schema.XmlSchemaParticle.IsEmpty.

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