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