27 references to ContentType
System.Xml (27)
System\Xml\Schema\SchemaCollectionCompiler.cs (14)
656
if (baseType.
ContentType
!= XmlSchemaContentType.TextOnly) {
678
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly) {
692
else if (baseType.
ContentType
== XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable) {
744
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly) {
769
contentType = baseType.
ContentType
;
772
if (complexType.
ContentType
!= baseType.
ContentType
) {
797
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly) {
810
if (complexType.
ContentType
== XmlSchemaContentType.Empty) {
1926
if (complexType.
ContentType
== XmlSchemaContentType.Empty) {
1929
else if (complexType.
ContentType
== XmlSchemaContentType.TextOnly) {
1934
if (complexType.
ContentType
== XmlSchemaContentType.ElementOnly) {
1944
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.
ContentType
, all.Items.Count, all.MinOccurs == decimal.Zero);
1954
ParticleContentValidator contentValidator = new ParticleContentValidator(complexType.
ContentType
);
System\Xml\Schema\SchemaSetCompiler.cs (13)
714
if (baseType.
ContentType
!= XmlSchemaContentType.TextOnly) {
736
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly) {
750
else if (baseType.
ContentType
== XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable) {
824
contentType = baseType.
ContentType
;
834
if (baseType.
ContentType
!= XmlSchemaContentType.Empty && complexType.
ContentType
!= baseType.
ContentType
) { //If base is empty, do not check
872
if (baseType.
ContentType
!= XmlSchemaContentType.Mixed) {
2281
if (complexType.
ContentType
== XmlSchemaContentType.Empty) {
2284
else if (complexType.
ContentType
== XmlSchemaContentType.TextOnly) {
2289
if (complexType.
ContentType
== XmlSchemaContentType.ElementOnly) {
2299
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.
ContentType
, all.Items.Count, all.MinOccurs == decimal.Zero);
2309
ParticleContentValidator contentValidator = new ParticleContentValidator(complexType.
ContentType
, CompilationSettings.EnableUpaCheck);