4 writes to DefaultValue
System.Private.Xml (3)
System\Xml\Schema\Preprocessor.cs (1)
452
space.
DefaultValue
= "preserve";
System\Xml\Schema\XsdBuilder.cs (1)
1261
builder._attribute!.
DefaultValue
= value;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
796
attribute.
DefaultValue
= ExportDefaultValue(accessor.Mapping, accessor.Default);
System.Web.Services.Description (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
9075
o.
@DefaultValue
= Reader.Value;
26 references to DefaultValue
System.Data.Common (1)
System\Data\XMLSchema.cs (1)
2332
string? strDefault = (attrib.Use == XmlSchemaUse.Required) ? GetMsdataAttribute(attr, Keywords.MSD_DEFAULTVALUE) : attr.
DefaultValue
;
System.Private.Xml (23)
System\Xml\Core\XsdValidatingReader.cs (1)
2375
originalStringValue = schemaAttr.
DefaultValue
?? schemaAttr.FixedValue!;
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
701
originalStringValue = schemaAttr.
DefaultValue
?? schemaAttr.FixedValue!;
System\Xml\Schema\Preprocessor.cs (2)
1216
if (attribute.
DefaultValue
!= null && attribute.FixedValue != null)
1220
if (attribute.
DefaultValue
!= null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
2004
if (xa.
DefaultValue
!= null)
2022
else if (a.
DefaultValue
!= null)
2024
if (xa.
DefaultValue
== null && xa.FixedValue == null)
2027
decl.DefaultValueRaw = decl.DefaultValueExpanded = a.
DefaultValue
;
2066
if (xa.
DefaultValue
!= null || xa.FixedValue != null)
2068
if (xa.
DefaultValue
!= null)
2071
decl.DefaultValueRaw = decl.DefaultValueExpanded = xa.
DefaultValue
;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
888
if (attribute.
DefaultValue
!= null && attribute.FixedValue != null)
892
if (attribute.
DefaultValue
!= null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None)
System\Xml\Schema\SchemaSetCompiler.cs (5)
2445
if (a.FixedValue == null && a.
DefaultValue
== null)
2451
if (xa.
DefaultValue
!= null)
2522
if (xa.
DefaultValue
!= null || xa.FixedValue != null)
2524
if (xa.
DefaultValue
!= null)
2527
decl.DefaultValueRaw = decl.DefaultValueExpanded = xa.
DefaultValue
;
System\Xml\Serialization\SchemaObjectWriter.cs (1)
303
WriteAttribute(@"default", @"", ((string?)o.
@DefaultValue
));
System\Xml\Serialization\XmlSchemaImporter.cs (4)
1600
if (defaultValueProvider.
DefaultValue
!= null)
1602
accessor.Default = defaultValueProvider.
DefaultValue
;
1611
if (attribute.
DefaultValue
!= null)
1613
accessor.Default = attribute.
DefaultValue
;
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
137
return saCopy.
DefaultValue
;
System.Web.Services.Description (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
3840
WriteAttribute(@"default", @"", ((global::System.String)o.
@DefaultValue
));