27 references to ContentType
System.Private.Xml (27)
System\Xml\Schema\SchemaCollectionCompiler.cs (14)
831
if (baseType.
ContentType
!= XmlSchemaContentType.TextOnly)
858
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
876
else if (baseType.
ContentType
== XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable)
944
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
975
contentType = baseType.
ContentType
;
978
if (complexType.
ContentType
!= baseType.
ContentType
)
1010
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
1026
if (complexType.
ContentType
== XmlSchemaContentType.Empty)
2345
if (complexType.
ContentType
== XmlSchemaContentType.Empty)
2349
else if (complexType.
ContentType
== XmlSchemaContentType.TextOnly)
2356
if (complexType.
ContentType
== XmlSchemaContentType.ElementOnly)
2368
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.
ContentType
, all.Items.Count, all.MinOccurs == decimal.Zero);
2381
ParticleContentValidator contentValidator = new ParticleContentValidator(complexType.
ContentType
);
System\Xml\Schema\SchemaSetCompiler.cs (13)
910
if (baseType.
ContentType
!= XmlSchemaContentType.TextOnly)
938
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
956
else if (baseType.
ContentType
== XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable)
1057
contentType = baseType.
ContentType
;
1069
if (baseType.
ContentType
!= XmlSchemaContentType.Empty && complexType.
ContentType
!= baseType.
ContentType
)
1116
if (baseType.
ContentType
!= XmlSchemaContentType.Mixed)
2814
if (complexType.
ContentType
== XmlSchemaContentType.Empty)
2818
else if (complexType.
ContentType
== XmlSchemaContentType.TextOnly)
2825
if (complexType.
ContentType
== XmlSchemaContentType.ElementOnly)
2837
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.
ContentType
, all.Items.Count, all.MinOccurs == decimal.Zero);
2850
ParticleContentValidator contentValidator = new ParticleContentValidator(complexType.
ContentType
, CompilationSettings!.EnableUpaCheck);