summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 21:53:00 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 21:53:00 +0700
commit5865be16486e18ce0e3b6712a50670b1bdbe2b61 (patch)
treef9647fe88df8aba7e11e630c26c05658053edbf9 /crypto/test
parentRefactoring in Asn1.X509.Qualified (diff)
downloadBouncyCastle.NET-ed25519-5865be16486e18ce0e3b6712a50670b1bdbe2b61.tar.xz
Mark public sequence constructor Obsolete
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/asn1/test/SemanticsInformationUnitTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/asn1/test/SemanticsInformationUnitTest.cs b/crypto/test/src/asn1/test/SemanticsInformationUnitTest.cs
index 8fb29d9ad..ed73cceca 100644
--- a/crypto/test/src/asn1/test/SemanticsInformationUnitTest.cs
+++ b/crypto/test/src/asn1/test/SemanticsInformationUnitTest.cs
@@ -58,7 +58,7 @@ namespace Org.BouncyCastle.Asn1.Tests
 
 			try
             {
-                new SemanticsInformation(DerSequence.Empty);
+                SemanticsInformation.GetInstance(DerSequence.Empty);
 
 				Fail("constructor failed to detect empty sequence.");
             }