13 references to ElementOnly
System.Private.Xml (13)
System\Xml\Schema\BaseValidator.cs (1)
182if (contentType == XmlSchemaContentType.ElementOnly)
System\Xml\Schema\ContentValidator.cs (1)
1234Debug.Assert(ContentType == XmlSchemaContentType.ElementOnly || ContentType == XmlSchemaContentType.Mixed);
System\Xml\Schema\DtdParser.cs (1)
988pcv = new ParticleContentValidator(XmlSchemaContentType.ElementOnly);
System\Xml\Schema\DtdParserAsync.cs (1)
632pcv = new ParticleContentValidator(XmlSchemaContentType.ElementOnly);
System\Xml\Schema\DtdValidator.cs (1)
111context.ElementDecl.ContentValidator!.ContentType == XmlSchemaContentType.ElementOnly)
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
1706return XmlSchemaContentType.ElementOnly; 2356if (complexType.ContentType == XmlSchemaContentType.ElementOnly)
System\Xml\Schema\SchemaSetCompiler.cs (2)
2057return XmlSchemaContentType.ElementOnly; 2825if (complexType.ContentType == XmlSchemaContentType.ElementOnly)
System\Xml\Schema\XdrBuilder.cs (1)
858builder._contentValidator = new ParticleContentValidator(XmlSchemaContentType.ElementOnly);
System\Xml\Schema\XmlSchemaValidator.cs (3)
769case XmlSchemaContentType.ElementOnly: 1219case XmlSchemaContentType.ElementOnly: 2517if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.Mixed && contentValidator != ContentValidator.Mixed && contentValidator != ContentValidator.Any))