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