3 references to HasIsEmpty
System.Xml (3)
System\Xml\Serialization\SoapSchemaImporter.cs (1)
509if (element.MinOccurs == 0 && member.TypeDesc.IsValueType && !member.TypeDesc.HasIsEmpty) {
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1363if (element.MinOccurs == 0 && member.TypeDesc.IsValueType && !element.HasDefault && !member.TypeDesc.HasIsEmpty) { 1384if ((attribute.Use == XmlSchemaUse.Optional || attribute.Use == XmlSchemaUse.None) && member.TypeDesc.IsValueType && !attribute.HasDefault && !member.TypeDesc.HasIsEmpty) {