27 references to ContentType
dotnet-svcutil-lib (27)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (14)
822
if (baseType.
ContentType
!= XmlSchemaContentType.TextOnly)
849
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
867
else if (baseType.
ContentType
== XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable)
935
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
966
contentType = baseType.
ContentType
;
969
if (complexType.
ContentType
!= baseType.
ContentType
)
1001
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
1016
if (complexType.
ContentType
== XmlSchemaContentType.Empty)
2429
if (complexType.
ContentType
== XmlSchemaContentType.Empty)
2433
else if (complexType.
ContentType
== XmlSchemaContentType.TextOnly)
2440
if (complexType.
ContentType
== XmlSchemaContentType.ElementOnly)
2453
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.
ContentType
, all.Items.Count, all.MinOccurs == decimal.Zero);
2466
ParticleContentValidator contentValidator = new ParticleContentValidator(complexType.
ContentType
);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (13)
900
if (baseType.
ContentType
!= XmlSchemaContentType.TextOnly)
927
if (baseType.
ContentType
== XmlSchemaContentType.TextOnly)
945
else if (baseType.
ContentType
== XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable)
1040
contentType = baseType.
ContentType
;
1051
if (baseType.
ContentType
!= XmlSchemaContentType.Empty && complexType.
ContentType
!= baseType.
ContentType
)
1097
if (baseType.
ContentType
!= XmlSchemaContentType.Mixed)
2872
if (complexType.
ContentType
== XmlSchemaContentType.Empty)
2876
else if (complexType.
ContentType
== XmlSchemaContentType.TextOnly)
2883
if (complexType.
ContentType
== XmlSchemaContentType.ElementOnly)
2896
AllElementsContentValidator contentValidator = new AllElementsContentValidator(complexType.
ContentType
, all.Items.Count, all.MinOccurs == decimal.Zero);
2909
ParticleContentValidator contentValidator = new ParticleContentValidator(complexType.
ContentType
, CompilationSettings.EnableUpaCheck);