4 references to HasDefault
System.Private.Xml (4)
System\Xml\Serialization\XmlSchemaExporter.cs (4)
728
if (!accessor.
HasDefault
&& !valueTypeOptional && accessor.Mapping!.TypeDesc!.IsValueType)
794
if (accessor.
HasDefault
)
815
int minOccurs = repeats || accessor.
HasDefault
|| (!accessor.IsNullable && !accessor.Mapping!.TypeDesc!.IsValueType) || valueTypeOptional ? 0 : 1;
823
if (accessor.
HasDefault
)