13 references to ElementOnly
System.Xml (13)
System\Xml\Schema\BaseValidator.cs (1)
149if (contentType == XmlSchemaContentType.ElementOnly) {
System\Xml\Schema\ContentValidator.cs (1)
1126Debug.Assert(ContentType == XmlSchemaContentType.ElementOnly || ContentType == XmlSchemaContentType.Mixed);
System\Xml\Schema\DtdParser.cs (1)
953pcv = new ParticleContentValidator( XmlSchemaContentType.ElementOnly );
System\Xml\Schema\DtdParserAsync.cs (1)
598pcv = new ParticleContentValidator( XmlSchemaContentType.ElementOnly );
System\Xml\Schema\DtdValidator.cs (1)
98context.ElementDecl.ContentValidator.ContentType == XmlSchemaContentType.ElementOnly) {
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
1355return XmlSchemaContentType.ElementOnly; 1934if (complexType.ContentType == XmlSchemaContentType.ElementOnly) {
System\Xml\Schema\SchemaSetCompiler.cs (2)
1629return XmlSchemaContentType.ElementOnly; 2289if (complexType.ContentType == XmlSchemaContentType.ElementOnly) {
System\Xml\Schema\XdrBuilder.cs (1)
779builder._contentValidator = new ParticleContentValidator(XmlSchemaContentType.ElementOnly);
System\Xml\Schema\XmlSchemaValidator.cs (3)
700case XmlSchemaContentType.ElementOnly: 1046case XmlSchemaContentType.ElementOnly: 2106if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.Mixed && contentValidator != ContentValidator.Mixed && contentValidator != ContentValidator.Any)) {