3 references to EmitDefaultValueAttribute
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaExporter.cs (1)
222
XmlAttribute emitDefaultValueAttribute = XmlDoc.CreateAttribute(Globals.
EmitDefaultValueAttribute
);
System\Runtime\Serialization\SchemaImporter.cs (2)
1026
XmlNode? emitDefaultValueAttribute = defaultValueElement.Attributes.GetNamedItem(Globals.
EmitDefaultValueAttribute
);
1028
throw new InvalidDataContractException(SR.Format(SR.AnnotationAttributeNotFound, SchemaExporter.DefaultValueAnnotation.Name, typeName.Name, typeName.Namespace, Globals.
EmitDefaultValueAttribute
));