23 references to ContentType
System.Xml (23)
System\Xml\Schema\BaseValidator.cs (2)
148
XmlSchemaContentType contentType = contentValidator.
ContentType
;
170
XmlSchemaContentType contentType = context.ElementDecl.ContentValidator.
ContentType
;
System\Xml\Schema\ContentValidator.cs (6)
1126
Debug.Assert(
ContentType
== XmlSchemaContentType.ElementOnly ||
ContentType
== XmlSchemaContentType.Mixed);
1128
if (
ContentType
== XmlSchemaContentType.Mixed) {
1185
return new RangeContentValidator(firstpos, followpos, symbols, positions, endMarker.Pos, this.
ContentType
, contentRoot.LeftChild.IsNullable, positionsWithRangeTerminals, minMaxNodesCount);
1206
return new DfaContentValidator(transitionTable, symbols,this.
ContentType
, this.IsOpen, contentRoot.LeftChild.IsNullable);
1208
return new NfaContentValidator(firstpos, followpos, symbols, positions, endMarker.Pos, this.
ContentType
, this.IsOpen, contentRoot.LeftChild.IsNullable);
System\Xml\Schema\DtdParser.cs (1)
751
elementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.Empty &&
System\Xml\Schema\DtdParserAsync.cs (1)
396
elementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.Empty &&
System\Xml\Schema\DtdValidator.cs (1)
98
context.ElementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.ElementOnly) {
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
1881
if (decl.ContentValidator.
ContentType
== XmlSchemaContentType.TextOnly) {
1894
else if (decl.ContentValidator.
ContentType
!= XmlSchemaContentType.Mixed || !decl.ContentValidator.IsEmptiable) {
System\Xml\Schema\SchemaSetCompiler.cs (2)
2228
if (decl.ContentValidator.
ContentType
== XmlSchemaContentType.TextOnly || (decl.ContentValidator.
ContentType
== XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable)) {
System\Xml\Schema\XmlSchemaValidator.cs (8)
685
XmlSchemaContentType contentType = context.ElementDecl.ContentValidator.
ContentType
;
751
XmlSchemaContentType contentType = context.ElementDecl.ContentValidator.
ContentType
;
969
return context.ElementDecl.ContentValidator.
ContentType
;
1025
XmlSchemaContentType contentType = contextElementDecl.ContentValidator.
ContentType
;
1130
if (contentValidator.
ContentType
== XmlSchemaContentType.Mixed && context.ElementDecl.Presence == SchemaDeclBase.Use.Fixed) { //Mixed with default or fixed
1527
Debug.Assert(elementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.Mixed && elementDecl.DefaultValueTyped != null);
1891
if (currentElementDecl.Datatype == null || currentElementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.Mixed) {
2105
XmlSchemaContentType contentType = contentValidator.
ContentType
;