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