2 writes to IsOptional
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
345
accessor.
IsOptional
= element.MinOccurs == 0m;
1739
accessor.
IsOptional
= attribute.Use != XmlSchemaUse.Required;
2 references to IsOptional
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
532
if (arguments != null && pm.TypeDesc.HasDefaultSupport && accessor.
IsOptional
&& !accessor.IsFixed)
554
if (!accessor.IsFixed && accessor.
IsOptional
)