22 references to Empty
System.Xml (22)
System\Xml\Schema\BaseValidator.cs (2)
159
else if (contentType == XmlSchemaContentType.
Empty
) {
174
if (contentType == XmlSchemaContentType.
Empty
) {
System\Xml\Schema\ContentValidator.cs (3)
874
public static readonly ContentValidator Empty = new ContentValidator(XmlSchemaContentType.
Empty
);
904
if (contentType == XmlSchemaContentType.TextOnly || contentType == XmlSchemaContentType.
Empty
)
917
if (contentType == XmlSchemaContentType.TextOnly || contentType == XmlSchemaContentType.
Empty
) { //Cannot have elements in TextOnly or Empty content
System\Xml\Schema\DtdParser.cs (1)
751
elementDecl.ContentValidator.ContentType == XmlSchemaContentType.
Empty
&&
System\Xml\Schema\DtdParserAsync.cs (1)
396
elementDecl.ContentValidator.ContentType == XmlSchemaContentType.
Empty
&&
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
768
if (contentType == XmlSchemaContentType.
Empty
) { //Derived content type is empty, Get ContentType from base
810
if (complexType.ContentType == XmlSchemaContentType.
Empty
) {
1358
return XmlSchemaContentType.
Empty
;
1926
if (complexType.ContentType == XmlSchemaContentType.
Empty
) {
System\Xml\Schema\SchemaSetCompiler.cs (5)
823
if (contentType == XmlSchemaContentType.
Empty
) { //Derived content type is empty, Get ContentType from base
834
if (baseType.ContentType != XmlSchemaContentType.
Empty
&& complexType.ContentType != baseType.ContentType) { //If base is empty, do not check
865
case XmlSchemaContentType.
Empty
:
1632
return XmlSchemaContentType.
Empty
;
2281
if (complexType.ContentType == XmlSchemaContentType.
Empty
) {
System\Xml\Schema\XmlSchemaInfo.cs (2)
78
contentType = XmlSchemaContentType.
Empty
;
148
contentType = XmlSchemaContentType.
Empty
;
System\Xml\Schema\XmlSchemaValidator.cs (4)
687
case XmlSchemaContentType.
Empty
:
753
case XmlSchemaContentType.
Empty
:
967
return XmlSchemaContentType.
Empty
;
2135
if (contentType == XmlSchemaContentType.
Empty
) {