23 references to ContentType
System.Private.Xml (23)
System\Xml\Schema\BaseValidator.cs (2)
181
XmlSchemaContentType contentType = contentValidator.
ContentType
;
212
XmlSchemaContentType contentType = context.ElementDecl!.ContentValidator!.
ContentType
;
System\Xml\Schema\ContentValidator.cs (6)
1234
Debug.Assert(
ContentType
== XmlSchemaContentType.ElementOnly ||
ContentType
== XmlSchemaContentType.Mixed);
1237
if (
ContentType
== XmlSchemaContentType.Mixed)
1281
return new RangeContentValidator(firstpos, followpos, _symbols, _positions, endMarker.Pos, this.
ContentType
, contentRoot.LeftChild.IsNullable, positionsWithRangeTerminals, _minMaxNodesCount);
1303
return new DfaContentValidator(transitionTable, _symbols, this.
ContentType
, this.IsOpen, contentRoot.LeftChild.IsNullable);
1307
return new NfaContentValidator(firstpos, followpos, _symbols, _positions, endMarker.Pos, this.
ContentType
, this.IsOpen, contentRoot.LeftChild.IsNullable);
System\Xml\Schema\DtdParser.cs (1)
794
elementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.Empty &&
System\Xml\Schema\DtdParserAsync.cs (1)
438
elementDecl.ContentValidator.
ContentType
== XmlSchemaContentType.Empty &&
System\Xml\Schema\DtdValidator.cs (1)
111
context.ElementDecl.ContentValidator!.
ContentType
== XmlSchemaContentType.ElementOnly)
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
2288
if (decl.ContentValidator.
ContentType
== XmlSchemaContentType.TextOnly)
2305
else if (decl.ContentValidator.
ContentType
!= XmlSchemaContentType.Mixed || !decl.ContentValidator.IsEmptiable)
System\Xml\Schema\SchemaSetCompiler.cs (2)
2747
if (decl.ContentValidator.
ContentType
== XmlSchemaContentType.TextOnly || (decl.ContentValidator.
ContentType
== XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable))
System\Xml\Schema\XmlSchemaValidator.cs (8)
751
XmlSchemaContentType contentType = _context.ElementDecl!.ContentValidator!.
ContentType
;
830
XmlSchemaContentType contentType = _context.ElementDecl!.ContentValidator!.
ContentType
;
1120
return _context.ElementDecl.ContentValidator!.
ContentType
;
1193
XmlSchemaContentType contentType = contextElementDecl.ContentValidator!.
ContentType
;
1321
if (contentValidator.
ContentType
== XmlSchemaContentType.Mixed && _context.ElementDecl.Presence == SchemaDeclBase.Use.Fixed)
1818
Debug.Assert(elementDecl.ContentValidator!.
ContentType
== XmlSchemaContentType.Mixed && elementDecl.DefaultValueTyped != null);
2259
if (currentElementDecl.Datatype == null || currentElementDecl.ContentValidator!.
ContentType
== XmlSchemaContentType.Mixed)
2516
XmlSchemaContentType contentType = contentValidator.
ContentType
;