4 references to HasDefault
System.Xml (4)
System\Xml\Serialization\XmlSchemaExporter.cs (4)
658if (!accessor.HasDefault && !valueTypeOptional && accessor.Mapping.TypeDesc.IsValueType) { 713if (accessor.HasDefault) { 730int minOccurs = repeats || accessor.HasDefault || (!accessor.IsNullable && !accessor.Mapping.TypeDesc.IsValueType) || valueTypeOptional ? 0 : 1; 737if (accessor.HasDefault)