4 writes to DefaultValue
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
470
space.
DefaultValue
= "preserve";
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1268
builder._attribute.
DefaultValue
= value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
837
attribute.
DefaultValue
= ExportDefaultValue(accessor.Mapping, accessor.Default);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
9161
o.
@DefaultValue
= Reader.Value;
26 references to DefaultValue
dotnet-svcutil-lib (26)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (2)
2259
originalStringValue = (schemaAttr.
DefaultValue
!= null) ? schemaAttr.
DefaultValue
: schemaAttr.FixedValue;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (2)
675
originalStringValue = (schemaAttr.
DefaultValue
!= null) ? schemaAttr.
DefaultValue
: schemaAttr.FixedValue;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1249
if (attribute.
DefaultValue
!= null && attribute.FixedValue != null)
1253
if (attribute.
DefaultValue
!= null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (7)
2082
if (xa.
DefaultValue
!= null)
2100
else if (a.
DefaultValue
!= null)
2102
if (xa.
DefaultValue
== null && xa.FixedValue == null)
2105
decl.DefaultValueRaw = decl.DefaultValueExpanded = a.
DefaultValue
;
2147
if (xa.
DefaultValue
!= null || xa.FixedValue != null)
2149
if (xa.
DefaultValue
!= null)
2152
decl.DefaultValueRaw = decl.DefaultValueExpanded = xa.
DefaultValue
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
896
if (attribute.
DefaultValue
!= null && attribute.FixedValue != null)
900
if (attribute.
DefaultValue
!= null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (5)
2500
if (a.FixedValue == null && a.
DefaultValue
== null)
2506
if (xa.
DefaultValue
!= null)
2580
if (xa.
DefaultValue
!= null || xa.FixedValue != null)
2582
if (xa.
DefaultValue
!= null)
2585
decl.DefaultValueRaw = decl.DefaultValueExpanded = xa.
DefaultValue
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (1)
304
WriteAttribute(@"default", @"", ((System.String)o.
@DefaultValue
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (4)
1741
if (defaultValueProvider.
DefaultValue
!= null)
1743
accessor.Default = defaultValueProvider.
DefaultValue
;
1752
if (attribute.
DefaultValue
!= null)
1754
accessor.Default = attribute.
DefaultValue
;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
4118
WriteAttribute(@"default", @"", ((global::System.String)o.
@DefaultValue
));