diff --git a/src/libraries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs b/src/libraries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs index 4115835f13af6..f14fd4a4f704f 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs +++ b/src/libraries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs @@ -96,7 +96,6 @@ protected AsymmetricSignatureFormatter() { } public abstract void SetHashAlgorithm(string strName); public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key); } - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public partial class CryptoConfig { public CryptoConfig() { } diff --git a/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs b/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs index 10ada27158268..a1aea6e932dd9 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs +++ b/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs @@ -8,11 +8,9 @@ using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; -using System.Runtime.Versioning; namespace System.Security.Cryptography { - [UnsupportedOSPlatform("browser")] public class CryptoConfig { private const string AssemblyName_Cng = "System.Security.Cryptography.Cng";