# Microsoft.Extensions.Configuration.Xml

``` diff
 namespace Microsoft.Extensions.Configuration.Xml {
-    public class XmlConfigurationProvider : FileConfigurationProvider
+    [RequiresUnreferencedCodeAttribute("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
+    public class XmlConfigurationProvider : FileConfigurationProvider
-    public class XmlConfigurationSource : FileConfigurationSource
+    [RequiresUnreferencedCodeAttribute("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
+    public class XmlConfigurationSource : FileConfigurationSource
     public class XmlDocumentDecryptor {
-        public XmlReader CreateDecryptingXmlReader(Stream input, XmlReaderSettings? settings);
+        [RequiresUnreferencedCodeAttribute("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
+        public XmlReader CreateDecryptingXmlReader(Stream input, XmlReaderSettings? settings);
-        [UnsupportedOSPlatformAttribute("browser")]
-        protected virtual XmlReader DecryptDocumentAndCreateXmlReader(XmlDocument document);
+        [RequiresUnreferencedCodeAttribute("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
+        [UnsupportedOSPlatformAttribute("browser")]
+        protected virtual XmlReader DecryptDocumentAndCreateXmlReader(XmlDocument document);
     }
-    public class XmlStreamConfigurationProvider : StreamConfigurationProvider
+    [RequiresUnreferencedCodeAttribute("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
+    public class XmlStreamConfigurationProvider : StreamConfigurationProvider
-    public class XmlStreamConfigurationSource : StreamConfigurationSource
+    [RequiresUnreferencedCodeAttribute("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
+    public class XmlStreamConfigurationSource : StreamConfigurationSource
 }
```

