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