Skip to content

Commit 50f82db

Browse files
authored
Remove UnsupportedOsPlatform from CryptoConfig as a utility class (#43611)
* Remove UnsupportedOsPlatform from CryptoConfig as it is a safe utility class * Clean up the other references
1 parent 158b632 commit 50f82db

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/libraries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ protected AsymmetricSignatureFormatter() { }
9696
public abstract void SetHashAlgorithm(string strName);
9797
public abstract void SetKey(System.Security.Cryptography.AsymmetricAlgorithm key);
9898
}
99-
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
10099
public partial class CryptoConfig
101100
{
102101
public CryptoConfig() { }

src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
using System.Globalization;
99
using System.Reflection;
1010
using System.Runtime.InteropServices;
11-
using System.Runtime.Versioning;
1211

1312
namespace System.Security.Cryptography
1413
{
15-
[UnsupportedOSPlatform("browser")]
1614
public class CryptoConfig
1715
{
1816
private const string AssemblyName_Cng = "System.Security.Cryptography.Cng";

0 commit comments

Comments
 (0)