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