summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-07 23:34:44 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-07 23:34:44 +0700
commit223efcedb3f012fa840458c277f01b50a4cfdb6d (patch)
tree33111d0d21481470e8d84e553e1e0f4da8ff2429 /crypto/src
parentAdd EncodeConstructed method (diff)
downloadBouncyCastle.NET-ed25519-223efcedb3f012fa840458c277f01b50a4cfdb6d.tar.xz
Remove unnecessary static references
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/asn1/Asn1Set.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/Asn1Set.cs b/crypto/src/asn1/Asn1Set.cs
index 91163417b..af0d7319f 100644
--- a/crypto/src/asn1/Asn1Set.cs
+++ b/crypto/src/asn1/Asn1Set.cs
@@ -34,13 +34,13 @@ namespace Org.BouncyCastle.Asn1
             }
             else if (obj is Asn1SetParser)
             {
-                return Asn1Set.GetInstance(((Asn1SetParser)obj).ToAsn1Object());
+                return GetInstance(((Asn1SetParser)obj).ToAsn1Object());
             }
             else if (obj is byte[])
             {
                 try
                 {
-                    return Asn1Set.GetInstance(FromByteArray((byte[])obj));
+                    return GetInstance(FromByteArray((byte[])obj));
                 }
                 catch (IOException e)
                 {