using System.Diagnostics.CodeAnalysis;
using System.Reflection;
+[assembly: UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode",
+ Target = "M:System.Security.Cryptography.CryptoConfigForwarder.#cctor",
+ Scope = "member",
+ Justification = "The cctor caches the RequiresUnreferencedCode call in a delegate, and usage of that delegate is marked with RequiresUnreferencedCode.")]
+
namespace System.Security.Cryptography
{
- [UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode",
- Target = "M:System.Security.Cryptography.CryptoConfigForwarder.#cctor",
- Justification = "The cctor caches the RequiresUnreferencedCode call in a delegate, and usage of that delegate is marked with RequiresUnreferencedCode.")]
internal static class CryptoConfigForwarder
{
internal const string CreateFromNameUnreferencedCodeMessage = "The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.";