2 writes to IsOptional
System.Xml (2)
System\Xml\Serialization\XmlSchemaImporter.cs (2)
315accessor.IsOptional = element.MinOccurs == 0m; 1519accessor.IsOptional = attribute.Use != XmlSchemaUse.Required;
2 references to IsOptional
System.Xml (2)
System\Xml\Serialization\XmlCodeExporter.cs (2)
465if (arguments != null && pm.TypeDesc.HasDefaultSupport && accessor.IsOptional && !accessor.IsFixed) { 483if (!accessor.IsFixed && accessor.IsOptional) {