1 override of IsEmptiable
System.Private.Xml (1)
System\Xml\Schema\ContentValidator.cs (1)
2142public override bool IsEmptiable
7 references to IsEmptiable
System.Private.Xml (7)
System\Xml\Schema\ContentValidator.cs (1)
2144get { return base.IsEmptiable || _countRequired == 0; }
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
876else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable) 1032if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator!.IsEmptiable) 2305else if (decl.ContentValidator.ContentType != XmlSchemaContentType.Mixed || !decl.ContentValidator.IsEmptiable)
System\Xml\Schema\SchemaSetCompiler.cs (3)
956else if (baseType.ContentType == XmlSchemaContentType.Mixed && baseType.ElementDecl!.ContentValidator!.IsEmptiable) 1109if (baseType.ElementDecl != null && !baseType.ElementDecl.ContentValidator!.IsEmptiable) 2747if (decl.ContentValidator.ContentType == XmlSchemaContentType.TextOnly || (decl.ContentValidator.ContentType == XmlSchemaContentType.Mixed && decl.ContentValidator.IsEmptiable))