4 writes to @DefaultValue
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
7370
o.
@DefaultValue
= Reader.Value;
System.Xml (3)
System\Xml\Schema\Preprocessor.cs (1)
396
space.
DefaultValue
= "preserve";
System\Xml\Schema\XsdBuilder.cs (1)
1201
builder.attribute.
DefaultValue
= value;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
714
attribute.
DefaultValue
= ExportDefaultValue(accessor.Mapping, accessor.Default);
28 references to @DefaultValue
System.Data (1)
fx\src\data\System\Data\XMLSchema.cs (1)
2027
string strDefault = (attrib.Use == XmlSchemaUse.Required) ? GetMsdataAttribute(attr, Keywords.MSD_DEFAULTVALUE) : attr.
DefaultValue
;
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
3259
WriteAttribute(@"default", @"", ((global::System.String)o.
@DefaultValue
));
System.Xml (25)
System\Xml\Core\XsdValidatingReader.cs (2)
1857
originalStringValue = ( schemaAttr.
DefaultValue
!= null ) ? schemaAttr.
DefaultValue
: schemaAttr.FixedValue;
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
569
originalStringValue = ( schemaAttr.
DefaultValue
!= null ) ? schemaAttr.
DefaultValue
: schemaAttr.FixedValue;
System\Xml\Schema\Preprocessor.cs (2)
1031
if (attribute.
DefaultValue
!= null && attribute.FixedValue != null) {
1034
if (attribute.
DefaultValue
!= null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None) {
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
1649
if(xa.
DefaultValue
!= null) {
1663
else if (a.
DefaultValue
!= null) {
1664
if(xa.
DefaultValue
== null && xa.FixedValue == null) {
1666
decl.DefaultValueRaw = decl.DefaultValueExpanded = a.
DefaultValue
;
1701
if (xa.
DefaultValue
!= null || xa.FixedValue != null) {
1702
if (xa.
DefaultValue
!= null) {
1704
decl.DefaultValueRaw = decl.DefaultValueExpanded = xa.
DefaultValue
;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
721
if (attribute.
DefaultValue
!= null && attribute.FixedValue != null) {
724
if (attribute.
DefaultValue
!= null && attribute.Use != XmlSchemaUse.Optional && attribute.Use != XmlSchemaUse.None) {
System\Xml\Schema\SchemaSetCompiler.cs (5)
1986
if (a.FixedValue == null && a.
DefaultValue
== null) {
1990
if (xa.
DefaultValue
!= null) {
2050
if (xa.
DefaultValue
!= null || xa.FixedValue != null) {
2051
if (xa.
DefaultValue
!= null) {
2053
decl.DefaultValueRaw = decl.DefaultValueExpanded = xa.
DefaultValue
;
System\Xml\Serialization\SchemaObjectWriter.cs (1)
253
WriteAttribute(@"default", @"", ((System.String)o.
@DefaultValue
));
System\Xml\Serialization\XmlSchemaImporter.cs (4)
1521
if (defaultValueProvider.
DefaultValue
!= null) {
1522
accessor.Default = defaultValueProvider.
DefaultValue
;
1529
if (attribute.
DefaultValue
!= null) {
1530
accessor.Default = attribute.
DefaultValue
;
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
112
return sa.
DefaultValue
;