15 writes to Default
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
170newAccessor.Default = this.Default;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (1)
733attribute.Default = GetDefaultValue(model.FieldTypeDesc, a);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (7)
1597attribute.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a); 1645element.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a); 1696element.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a); 1777attribute.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a); 1820element.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a); 1888element.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a); 1941element.Default = GetDefaultValue(model.FieldTypeDesc, model.FieldType, a);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (6)
349accessor.Default = element.DefaultValue; 353accessor.Default = element.FixedValue; 1743accessor.Default = defaultValueProvider.DefaultValue; 1747accessor.Default = defaultValueProvider.FixedValue; 1754accessor.Default = attribute.DefaultValue; 1758accessor.Default = attribute.FixedValue;
15 references to Default
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
170newAccessor.Default = this.Default;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
731AddDefaultValueAttribute(field, metadata, attribute.Default, mapping, comments, member.TypeDesc, attribute, ctor); 777AddDefaultValueAttribute(field, metadata, element.Default, mapping, comments, member.TypeDesc, element, ctor);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
329string value1 = Convert.ToString(accessor.Default, CultureInfo.InvariantCulture); 330string value2 = Convert.ToString(existing.Default, CultureInfo.InvariantCulture);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
837attribute.DefaultValue = ExportDefaultValue(accessor.Mapping, accessor.Default); 865element.DefaultValue = ExportDefaultValue(accessor.Mapping, accessor.Default);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (4)
2743WritePrimitive("WriteAttribute", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "", attribute.Default, source, attribute.Mapping, false, false, false); 3330WritePrimitive("WriteElementString", name, ns, element.Default, source, element.Mapping, false, true, element.IsNullable); 3337WriteQualifiedNameElement(name, ns, element.Default, source, element.IsNullable, mapping.IsSoap, mapping); 3343name, ns, element.Default, source, mapping, mapping.IsSoap, true, element.IsNullable);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (4)
1465WritePrimitive("WriteAttribute", attribute.Name, attribute.Form == XmlSchemaForm.Qualified ? attribute.Namespace : "", GetConvertedDefaultValue(source.Type, attribute.Default), source, attribute.Mapping, false, false, false); 2089WritePrimitive("WriteElementString", name, ns, element.Default, source, element.Mapping, false, true, element.IsNullable); 2095WriteQualifiedNameElement(name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, element.IsNullable, mapping); 2100name, ns, GetConvertedDefaultValue(source.Type, element.Default), source, mapping, false, true, element.IsNullable);