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