30 references to TextOnly
System.Private.Xml (30)
System\Xml\Core\XsdValidatingReader.cs (6)
226if (nodeType == XmlNodeType.Whitespace && (_validator.CurrentContentType == XmlSchemaContentType.TextOnly || _validator.CurrentContentType == XmlSchemaContentType.Mixed)) 423if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 432if (_attributePSVI != null && AttributeSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 2404if (_validator.CurrentContentType == XmlSchemaContentType.TextOnly) 2448if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 2472if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly)
System\Xml\Core\XsdValidatingReaderAsync.cs (3)
731if (_validator.CurrentContentType == XmlSchemaContentType.TextOnly) 781if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 806if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly)
System\Xml\Schema\ContentValidator.cs (4)
933public static readonly ContentValidator TextOnly = new ContentValidator(XmlSchemaContentType.TextOnly, false, false); 957get { return _contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Mixed; } 969if (_contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Empty) 984if (_contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Empty)
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
720complexType.SetContentType(XmlSchemaContentType.TextOnly); 831if (baseType.ContentType != XmlSchemaContentType.TextOnly) 858if (baseType.ContentType == XmlSchemaContentType.TextOnly) 944if (baseType.ContentType == XmlSchemaContentType.TextOnly) 1010if (baseType.ContentType == XmlSchemaContentType.TextOnly) 2288if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly) 2349else if (complexType.ContentType == XmlSchemaContentType.TextOnly)
System\Xml\Schema\SchemaSetCompiler.cs (6)
811complexType.SetContentType(XmlSchemaContentType.TextOnly); 910if (baseType.ContentType != XmlSchemaContentType.TextOnly) 938if (baseType.ContentType == XmlSchemaContentType.TextOnly) 1061if (contentType == XmlSchemaContentType.TextOnly) 2747if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable)) 2818else if (complexType.ContentType == XmlSchemaContentType.TextOnly)
System\Xml\Schema\XmlSchemaSimpleType.cs (1)
15Debug.Assert(SchemaContentType == XmlSchemaContentType.TextOnly);
System\Xml\Schema\XmlSchemaValidator.cs (3)
758case XmlSchemaContentType.TextOnly: 837case XmlSchemaContentType.TextOnly: 1184case XmlSchemaContentType.TextOnly: