27 references to Mixed
System.Xml (27)
System\Xml\Core\XsdValidatingReader.cs (1)
217if (nodeType == XmlNodeType.Whitespace && (validator.CurrentContentType == XmlSchemaContentType.TextOnly || validator.CurrentContentType == XmlSchemaContentType.Mixed)) {
System\Xml\Schema\ContentValidator.cs (5)
876public static readonly ContentValidator Mixed = new ContentValidator(XmlSchemaContentType.Mixed); 877public static readonly ContentValidator Any = new ContentValidator(XmlSchemaContentType.Mixed, true, true); 895get { return contentType == XmlSchemaContentType.TextOnly || contentType == XmlSchemaContentType.Mixed; } 1126Debug.Assert(ContentType == XmlSchemaContentType.ElementOnly || ContentType == XmlSchemaContentType.Mixed); 1128if (ContentType == XmlSchemaContentType.Mixed) {
System\Xml\Schema\DtdParser.cs (1)
941ParticleContentValidator pcv = new ParticleContentValidator( XmlSchemaContentType.Mixed );
System\Xml\Schema\DtdParserAsync.cs (1)
586ParticleContentValidator pcv = new ParticleContentValidator( XmlSchemaContentType.Mixed );
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
692else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable) { 1352return XmlSchemaContentType.Mixed; 1894else if (decl.ContentValidator.ContentType != XmlSchemaContentType.Mixed || !decl.ContentValidator.IsEmptiable) {
System\Xml\Schema\SchemaSetCompiler.cs (5)
750else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.IsEmptiable) { 871case XmlSchemaContentType.Mixed: 872if (baseType.ContentType != XmlSchemaContentType.Mixed) { 1626return XmlSchemaContentType.Mixed; 2228if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable)) {
System\Xml\Schema\XdrBuilder.cs (1)
653builder._contentValidator = new ParticleContentValidator(XmlSchemaContentType.Mixed);
System\Xml\Schema\XmlSchemaComplexType.cs (3)
52untypedAnyType.SetContentType(XmlSchemaContentType.Mixed); 74localAnyType.SetContentType(XmlSchemaContentType.Mixed); 80ParticleContentValidator contentValidator = new ParticleContentValidator(XmlSchemaContentType.Mixed);
System\Xml\Schema\XmlSchemaValidator.cs (7)
715case XmlSchemaContentType.Mixed: 766case XmlSchemaContentType.Mixed: 1037case XmlSchemaContentType.Mixed: 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) { 2106if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.Mixed && contentValidator != ContentValidator.Mixed && contentValidator != ContentValidator.Any)) {