30 references to TextOnly
dotnet-svcutil-lib (30)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (6)
236if (nodeType == XmlNodeType.Whitespace && (_validator.CurrentContentType == XmlSchemaContentType.TextOnly || _validator.CurrentContentType == XmlSchemaContentType.Mixed)) 416if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 423if (_attributePSVI != null && AttributeSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 2286if (_validator.CurrentContentType == XmlSchemaContentType.TextOnly) 2329if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 2350if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (3)
706if (_validator.CurrentContentType == XmlSchemaContentType.TextOnly) 756if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly) 778if (_xmlSchemaInfo.ContentType == XmlSchemaContentType.TextOnly)
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
1013public static readonly ContentValidator TextOnly = new ContentValidator(XmlSchemaContentType.TextOnly, false, false); 1037get { return _contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Mixed; } 1049if (_contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Empty) 1064if (_contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Empty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (7)
711complexType.SetContentType(XmlSchemaContentType.TextOnly); 822if (baseType.ContentType != XmlSchemaContentType.TextOnly) 849if (baseType.ContentType == XmlSchemaContentType.TextOnly) 935if (baseType.ContentType == XmlSchemaContentType.TextOnly) 1001if (baseType.ContentType == XmlSchemaContentType.TextOnly) 2373if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly) 2433else if (complexType.ContentType == XmlSchemaContentType.TextOnly)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
798complexType.SetContentType(XmlSchemaContentType.TextOnly); 900if (baseType.ContentType != XmlSchemaContentType.TextOnly) 927if (baseType.ContentType == XmlSchemaContentType.TextOnly) 1044if (contentType == XmlSchemaContentType.TextOnly) 2805if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable)) 2876else if (complexType.ContentType == XmlSchemaContentType.TextOnly)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleType.cs (1)
29Debug.Assert(SchemaContentType == XmlSchemaContentType.TextOnly);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (3)
804case XmlSchemaContentType.TextOnly: 886case XmlSchemaContentType.TextOnly: 1225case XmlSchemaContentType.TextOnly: