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