1 override of IsEmptiable
System.Xml (1)
System\Xml\Schema\ContentValidator.cs (1)
1944
public override bool
IsEmptiable
{
7 references to IsEmptiable
System.Xml (7)
System\Xml\Schema\ContentValidator.cs (1)
1945
get { return base.
IsEmptiable
|| countRequired == 0; }
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
692
else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.
IsEmptiable
) {
814
if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator.
IsEmptiable
) {
1894
else if (decl.ContentValidator.ContentType != XmlSchemaContentType.Mixed || !decl.ContentValidator.
IsEmptiable
) {
System\Xml\Schema\SchemaSetCompiler.cs (3)
750
else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl.ContentValidator.
IsEmptiable
) {
866
if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator.
IsEmptiable
) { //base is either TextOnly or its ElementOnly/Mixed and not emptiable
2228
if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && decl.ContentValidator.
IsEmptiable
)) {