summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1InputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/Asn1InputStream.cs')
-rw-r--r--crypto/src/asn1/Asn1InputStream.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs
index 9ac9a6b02..96b0a1c66 100644
--- a/crypto/src/asn1/Asn1InputStream.cs
+++ b/crypto/src/asn1/Asn1InputStream.cs
@@ -212,12 +212,14 @@ namespace Org.BouncyCastle.Asn1
             {
             case Asn1Tags.BitString:
                 return BerBitStringParser.Parse(sp);
+#pragma warning disable CS0618 // Type or member is obsolete
             case Asn1Tags.OctetString:
                 return BerOctetStringParser.Parse(sp);
             case Asn1Tags.Sequence:
                 return BerSequenceParser.Parse(sp);
             case Asn1Tags.Set:
                 return BerSetParser.Parse(sp);
+#pragma warning restore CS0618 // Type or member is obsolete
             case Asn1Tags.External:
                 // TODO[asn1] BerExternalParser
                 return DerExternalParser.Parse(sp);