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