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