4 references to DefaultValueAnnotation
System.Runtime.Serialization (4)
System\Runtime\Serialization\SchemaExporter.cs (2)
228
XmlElement defaultValueElement = XmlDoc.CreateElement(
DefaultValueAnnotation
.Name,
DefaultValueAnnotation
.Namespace);
System\Runtime\Serialization\SchemaImporter.cs (2)
1036
XmlElement defaultValueElement = ImportAnnotation(annotation, SchemaExporter.
DefaultValueAnnotation
);
1042
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.
DefaultValueAnnotation
.Name, typeName.Name, typeName.Namespace, Globals.EmitDefaultValueAttribute)));