27 references to Mixed
System.Private.Xml (27)
System\Xml\Core\XsdValidatingReader.cs (1)
226if (nodeType == XmlNodeType.Whitespace && (_validator.CurrentContentType == XmlSchemaContentType.TextOnly || _validator.CurrentContentType == XmlSchemaContentType.Mixed))
System\Xml\Schema\ContentValidator.cs (5)
934public static readonly ContentValidator Mixed = new ContentValidator(XmlSchemaContentType.Mixed); 935public static readonly ContentValidator Any = new ContentValidator(XmlSchemaContentType.Mixed, true, true); 957get { return _contentType == XmlSchemaContentType.TextOnly || _contentType == XmlSchemaContentType.Mixed; } 1234Debug.Assert(ContentType == XmlSchemaContentType.ElementOnly || ContentType == XmlSchemaContentType.Mixed); 1237if (ContentType == XmlSchemaContentType.Mixed)
System\Xml\Schema\DtdParser.cs (1)
976ParticleContentValidator pcv = new ParticleContentValidator(XmlSchemaContentType.Mixed);
System\Xml\Schema\DtdParserAsync.cs (1)
620ParticleContentValidator pcv = new ParticleContentValidator(XmlSchemaContentType.Mixed);
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
876else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable) 1702return XmlSchemaContentType.Mixed; 2305else if (decl.ContentValidator.ContentType != XmlSchemaContentType.Mixed || !decl.ContentValidator.IsEmptiable)
System\Xml\Schema\SchemaSetCompiler.cs (5)
956else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable) 1115case XmlSchemaContentType.Mixed: 1116if (baseType.ContentType != XmlSchemaContentType.Mixed) 2053return XmlSchemaContentType.Mixed; 2747if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable))
System\Xml\Schema\XdrBuilder.cs (1)
709builder._contentValidator = new ParticleContentValidator(XmlSchemaContentType.Mixed);
System\Xml\Schema\XmlSchemaComplexType.cs (3)
45untypedAny.SetContentType(XmlSchemaContentType.Mixed); 69localAnyType.SetContentType(XmlSchemaContentType.Mixed); 75ParticleContentValidator contentValidator = new ParticleContentValidator(XmlSchemaContentType.Mixed);
System\Xml\Schema\XmlSchemaValidator.cs (7)
787case XmlSchemaContentType.Mixed: 848case XmlSchemaContentType.Mixed: 1196case XmlSchemaContentType.Mixed: 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) 2505if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.Mixed && contentValidator != ContentValidator.Mixed && contentValidator != ContentValidator.Any))