5 types derived from ContentValidator
System.Xml (5)
System\Xml\Schema\ContentValidator.cs (5)
962
sealed class ParticleContentValidator :
ContentValidator
{
1420
sealed class DfaContentValidator :
ContentValidator
{
1518
sealed class NfaContentValidator :
ContentValidator
{
1644
sealed class RangeContentValidator :
ContentValidator
{
1918
sealed class AllElementsContentValidator :
ContentValidator
{
4 instantiations of ContentValidator
System.Xml (4)
System\Xml\Schema\ContentValidator.cs (4)
874
public static readonly ContentValidator Empty = new
ContentValidator
(XmlSchemaContentType.Empty);
875
public static readonly ContentValidator TextOnly = new
ContentValidator
(XmlSchemaContentType.TextOnly, false, false);
876
public static readonly ContentValidator Mixed = new
ContentValidator
(XmlSchemaContentType.Mixed);
877
public static readonly ContentValidator Any = new
ContentValidator
(XmlSchemaContentType.Mixed, true, true);
41 references to ContentValidator
System.Xml (41)
System\Xml\Schema\BaseValidator.cs (1)
147
ContentValidator
contentValidator = context.ElementDecl.ContentValidator;
System\Xml\Schema\ContentValidator.cs (9)
874
public static readonly
ContentValidator
Empty = new ContentValidator(XmlSchemaContentType.Empty);
875
public static readonly
ContentValidator
TextOnly = new ContentValidator(XmlSchemaContentType.TextOnly, false, false);
876
public static readonly
ContentValidator
Mixed = new ContentValidator(XmlSchemaContentType.Mixed);
877
public static readonly
ContentValidator
Any = new ContentValidator(XmlSchemaContentType.Mixed, true, true);
1121
public
ContentValidator
Finish() {
1125
public
ContentValidator
Finish(bool useDFA) {
1131
return IsOpen ?
ContentValidator
.Any :
ContentValidator
.TextOnly;
1136
return
ContentValidator
.Empty;
System\Xml\Schema\DtdParser.cs (2)
931
elementDecl.ContentValidator =
ContentValidator
.Empty;
934
elementDecl.ContentValidator =
ContentValidator
.Any;
System\Xml\Schema\DtdParserAsync.cs (2)
576
elementDecl.ContentValidator =
ContentValidator
.Empty;
579
elementDecl.ContentValidator =
ContentValidator
.Any;
System\Xml\Schema\DtdValidator.cs (1)
108
if (context.ElementDecl.ContentValidator ==
ContentValidator
.Empty) {
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
490
decl.ContentValidator =
ContentValidator
.TextOnly;
1925
private
ContentValidator
CompileComplexContent(XmlSchemaComplexType complexType) {
1927
return
ContentValidator
.Empty;
1930
return
ContentValidator
.TextOnly;
1935
return
ContentValidator
.Empty;
1938
return
ContentValidator
.Mixed;
System\Xml\Schema\SchemaElementDecl.cs (3)
27
ContentValidator
contentValidator;
45
contentValidator =
ContentValidator
.TextOnly;
151
internal
ContentValidator
ContentValidator {
System\Xml\Schema\SchemaSetCompiler.cs (6)
557
decl.ContentValidator =
ContentValidator
.TextOnly;
2280
private
ContentValidator
CompileComplexContent(XmlSchemaComplexType complexType) {
2282
return
ContentValidator
.Empty;
2285
return
ContentValidator
.TextOnly;
2290
return
ContentValidator
.Empty;
2293
return
ContentValidator
.Mixed;
System\Xml\Schema\XdrBuilder.cs (4)
774
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.TextOnly;
788
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.Empty;
861
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.Any;
1277
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.TextOnly;
System\Xml\Schema\XmlSchemaComplexType.cs (2)
86
ContentValidator
anyContentValidator = contentValidator.Finish(true);
120
internal static
ContentValidator
AnyTypeContentValidator {
System\Xml\Schema\XmlSchemaValidator.cs (5)
846
ContentValidator
.AddParticleToExpected(element, schemaSet, expected, true);
1129
ContentValidator
contentValidator = context.ElementDecl.ContentValidator;
2104
ContentValidator
contentValidator = context.ElementDecl.ContentValidator;
2106
if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.Mixed && contentValidator !=
ContentValidator
.Mixed && contentValidator !=
ContentValidator
.Any)) {