18 references to Optional
dotnet-svcutil-lib (18)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (6)
337
attributeReference.Use = XmlSchemaUse.
Optional
;
396
attributeReference.Use = XmlSchemaUse.
Optional
;
444
xsa.Use = XmlSchemaUse.
Optional
;
1446
attr.Use = XmlSchemaUse.
Optional
;
1453
attr.Use = XmlSchemaUse.
Optional
;
1459
attr.Use = XmlSchemaUse.
Optional
;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
1253
if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.
Optional
&& attribute.Use != XmlSchemaUse.None)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
1970
if (attribute.Use == XmlSchemaUse.
Optional
)
2169
case XmlSchemaUse.
Optional
:
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (1)
900
if (attribute.DefaultValue != null && attribute.Use != XmlSchemaUse.
Optional
&& attribute.Use != XmlSchemaUse.None)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (2)
2375
if (attribute.Use == XmlSchemaUse.
Optional
|| attribute.Use == XmlSchemaUse.None)
2616
case XmlSchemaUse.
Optional
:
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (2)
327
XmlSchemaUse use = o.Use == XmlSchemaUse.None ? XmlSchemaUse.
Optional
: o.Use;
735
case XmlSchemaUse.
@Optional
: s = @"optional"; break;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
734
attribute.Use = XmlSchemaUse.
Optional
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1586
if ((attribute.Use == XmlSchemaUse.
Optional
|| attribute.Use == XmlSchemaUse.None) && member.TypeDesc.IsValueType && !attribute.HasDefault && !member.TypeDesc.HasIsEmpty)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (2)
4141
case Microsoft.Xml.Schema.XmlSchemaUse.
@Optional
: s = @"optional"; break;
10745
case @"optional": return Microsoft.Xml.Schema.XmlSchemaUse.
@Optional
;