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