diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-07 23:34:44 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-07 23:34:44 +0700 |
commit | 223efcedb3f012fa840458c277f01b50a4cfdb6d (patch) | |
tree | 33111d0d21481470e8d84e553e1e0f4da8ff2429 | |
parent | Add EncodeConstructed method (diff) | |
download | BouncyCastle.NET-ed25519-223efcedb3f012fa840458c277f01b50a4cfdb6d.tar.xz |
Remove unnecessary static references
-rw-r--r-- | crypto/src/asn1/Asn1Set.cs | 4 |
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) { |