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