5 types derived from ContentValidator
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (5)
1120
internal sealed class ParticleContentValidator :
ContentValidator
1662
internal sealed class DfaContentValidator :
ContentValidator
1782
internal sealed class NfaContentValidator :
ContentValidator
1929
internal sealed class RangeContentValidator :
ContentValidator
2250
internal sealed class AllElementsContentValidator :
ContentValidator
4 instantiations of ContentValidator
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (4)
1012
public static readonly ContentValidator Empty = new
ContentValidator
(XmlSchemaContentType.Empty);
1013
public static readonly ContentValidator TextOnly = new
ContentValidator
(XmlSchemaContentType.TextOnly, false, false);
1014
public static readonly ContentValidator Mixed = new
ContentValidator
(XmlSchemaContentType.Mixed);
1015
public static readonly ContentValidator Any = new
ContentValidator
(XmlSchemaContentType.Mixed, true, true);
39 references to ContentValidator
dotnet-svcutil-lib (39)
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (1)
174
ContentValidator
contentValidator = context.ElementDecl.ContentValidator;
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (9)
1012
public static readonly
ContentValidator
Empty = new ContentValidator(XmlSchemaContentType.Empty);
1013
public static readonly
ContentValidator
TextOnly = new ContentValidator(XmlSchemaContentType.TextOnly, false, false);
1014
public static readonly
ContentValidator
Mixed = new ContentValidator(XmlSchemaContentType.Mixed);
1015
public static readonly
ContentValidator
Any = new ContentValidator(XmlSchemaContentType.Mixed, true, true);
1311
public
ContentValidator
Finish()
1316
public
ContentValidator
Finish(bool useDFA)
1325
return IsOpen ?
ContentValidator
.Any :
ContentValidator
.TextOnly;
1331
return
ContentValidator
.Empty;
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (2)
977
elementDecl.ContentValidator =
ContentValidator
.Empty;
980
elementDecl.ContentValidator =
ContentValidator
.Any;
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (1)
121
if (context.ElementDecl.ContentValidator ==
ContentValidator
.Empty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (6)
613
decl.ContentValidator =
ContentValidator
.TextOnly;
2427
private
ContentValidator
CompileComplexContent(XmlSchemaComplexType complexType)
2431
return
ContentValidator
.Empty;
2435
return
ContentValidator
.TextOnly;
2442
return
ContentValidator
.Empty;
2446
return
ContentValidator
.Mixed;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (3)
24
private
ContentValidator
_contentValidator;
42
_contentValidator =
ContentValidator
.TextOnly;
164
internal
ContentValidator
ContentValidator
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
698
decl.ContentValidator =
ContentValidator
.TextOnly;
2870
private
ContentValidator
CompileComplexContent(XmlSchemaComplexType complexType)
2874
return
ContentValidator
.Empty;
2878
return
ContentValidator
.TextOnly;
2885
return
ContentValidator
.Empty;
2889
return
ContentValidator
.Mixed;
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (4)
861
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.TextOnly;
876
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.Empty;
964
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.Any;
1450
builder._ElementDef._ElementDecl.ContentValidator =
ContentValidator
.TextOnly;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (2)
89
ContentValidator
anyContentValidator = contentValidator.Finish(true);
127
internal static
ContentValidator
AnyTypeContentValidator
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (5)
997
ContentValidator
.AddParticleToExpected(element, _schemaSet, expected, true);
1346
ContentValidator
contentValidator = _context.ElementDecl.ContentValidator;
2530
ContentValidator
contentValidator = context.ElementDecl.ContentValidator;
2532
if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.Mixed && contentValidator !=
ContentValidator
.Mixed && contentValidator !=
ContentValidator
.Any))