diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-17 23:28:05 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-17 23:28:05 +0700 |
commit | 74e3b3e7882eb11fc2b9510b3760cca5697ad512 (patch) | |
tree | e92f2890874cc3db160aa2fc470de65c576a3439 /crypto/test | |
parent | Add AesX86Engine using Aes intrinsics (diff) | |
download | BouncyCastle.NET-ed25519-74e3b3e7882eb11fc2b9510b3760cca5697ad512.tar.xz |
Add SupportedOSPlatform attributes
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/security/test/TestDotNetUtil.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/test/src/security/test/TestDotNetUtil.cs b/crypto/test/src/security/test/TestDotNetUtil.cs index 82cad46f1..3ca3efdbb 100644 --- a/crypto/test/src/security/test/TestDotNetUtil.cs +++ b/crypto/test/src/security/test/TestDotNetUtil.cs @@ -1,5 +1,8 @@ using System; using System.Collections.Generic; +#if NET5_0_OR_GREATER +using System.Runtime.Versioning; +#endif using System.Security.Cryptography; using SystemX509 = System.Security.Cryptography.X509Certificates; @@ -17,7 +20,10 @@ using Org.BouncyCastle.X509; namespace Org.BouncyCastle.Security.Tests { [TestFixture] - public class TestDotNetUtilities +#if NET5_0_OR_GREATER + [SupportedOSPlatform("windows")] +#endif + public class TestDotNetUtilities { [Test] public void TestRsaInterop() |