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