27 references to Mixed
System.Xml (27)
System\Xml\Core\XsdValidatingReader.cs (1)
217
if (nodeType == XmlNodeType.Whitespace && (validator.CurrentContentType == XmlSchemaContentType.TextOnly || validator.CurrentContentType == XmlSchemaContentType.
Mixed
)) {
System\Xml\Schema\ContentValidator.cs (5)
876
public static readonly ContentValidator Mixed = new ContentValidator(XmlSchemaContentType.
Mixed
);
877
public static readonly ContentValidator Any = new ContentValidator(XmlSchemaContentType.
Mixed
, true, true);
895
get { return contentType == XmlSchemaContentType.TextOnly || contentType == XmlSchemaContentType.
Mixed
; }
1126
Debug.Assert(ContentType == XmlSchemaContentType.ElementOnly || ContentType == XmlSchemaContentType.
Mixed
);
1128
if (ContentType == XmlSchemaContentType.
Mixed
) {
System\Xml\Schema\DtdParser.cs (1)
941
ParticleContentValidator pcv = new ParticleContentValidator( XmlSchemaContentType.
Mixed
);
System\Xml\Schema\DtdParserAsync.cs (1)
586
ParticleContentValidator pcv = new ParticleContentValidator( XmlSchemaContentType.
Mixed
);
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
692
else if (baseType.ContentType == XmlSchemaContentType.
Mixed
&& baseType.ElementDecl.ContentValidator.IsEmptiable) {
1352
return XmlSchemaContentType.
Mixed
;
1894
else if (decl.ContentValidator.ContentType != XmlSchemaContentType.
Mixed
|| !decl.ContentValidator.IsEmptiable) {
System\Xml\Schema\SchemaSetCompiler.cs (5)
750
else if (baseType.ContentType == XmlSchemaContentType.
Mixed
&& baseType.ElementDecl.ContentValidator.IsEmptiable) {
871
case XmlSchemaContentType.
Mixed
:
872
if (baseType.ContentType != XmlSchemaContentType.
Mixed
) {
1626
return XmlSchemaContentType.
Mixed
;
2228
if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.
Mixed
&& decl.ContentValidator.IsEmptiable)) {
System\Xml\Schema\XdrBuilder.cs (1)
653
builder._contentValidator = new ParticleContentValidator(XmlSchemaContentType.
Mixed
);
System\Xml\Schema\XmlSchemaComplexType.cs (3)
52
untypedAnyType.SetContentType(XmlSchemaContentType.
Mixed
);
74
localAnyType.SetContentType(XmlSchemaContentType.
Mixed
);
80
ParticleContentValidator contentValidator = new ParticleContentValidator(XmlSchemaContentType.
Mixed
);
System\Xml\Schema\XmlSchemaValidator.cs (7)
715
case XmlSchemaContentType.
Mixed
:
766
case XmlSchemaContentType.
Mixed
:
1037
case XmlSchemaContentType.
Mixed
:
1130
if (contentValidator.ContentType == XmlSchemaContentType.
Mixed
&& context.ElementDecl.Presence == SchemaDeclBase.Use.Fixed) { //Mixed with default or fixed
1527
Debug.Assert(elementDecl.ContentValidator.ContentType == XmlSchemaContentType.
Mixed
&& elementDecl.DefaultValueTyped != null);
1891
if (currentElementDecl.Datatype == null || currentElementDecl.ContentValidator.ContentType == XmlSchemaContentType.
Mixed
) {
2106
if (contentType == XmlSchemaContentType.ElementOnly || (contentType == XmlSchemaContentType.
Mixed
&& contentValidator != ContentValidator.Mixed && contentValidator != ContentValidator.Any)) {