4 references to DefaultValueAnnotation
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\SchemaExporter.cs (2)
221
XmlElement defaultValueElement = XmlDoc.CreateElement(
DefaultValueAnnotation
.Name,
DefaultValueAnnotation
.Namespace);
System\Runtime\Serialization\SchemaImporter.cs (2)
1023
XmlElement? defaultValueElement = ImportAnnotation(annotation, SchemaExporter.
DefaultValueAnnotation
);
1028
throw new InvalidDataContractException(SR.Format(SR.AnnotationAttributeNotFound, SchemaExporter.
DefaultValueAnnotation
.Name, typeName.Name, typeName.Namespace, Globals.EmitDefaultValueAttribute));