From 5865be16486e18ce0e3b6712a50670b1bdbe2b61 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 1 Jul 2024 21:53:00 +0700 Subject: Mark public sequence constructor Obsolete --- crypto/test/src/asn1/test/SemanticsInformationUnitTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src') 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."); } -- cgit 1.5.1