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