summary refs log tree commit diff
path: root/crypto/src/asn1/cmp/NestedMessageContent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cmp/NestedMessageContent.cs')
-rw-r--r--crypto/src/asn1/cmp/NestedMessageContent.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/src/asn1/cmp/NestedMessageContent.cs b/crypto/src/asn1/cmp/NestedMessageContent.cs
index b9e62e218..fc73fac1b 100644
--- a/crypto/src/asn1/cmp/NestedMessageContent.cs
+++ b/crypto/src/asn1/cmp/NestedMessageContent.cs
@@ -23,9 +23,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
 
         public static new NestedMessageContent GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
         {
-#pragma warning disable CS0618 // Type or member is obsolete
             return GetInstance(Asn1Sequence.GetInstance(taggedObject, declaredExplicit));
-#pragma warning restore CS0618 // Type or member is obsolete
         }
 
         public NestedMessageContent(PkiMessage msg)