diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-05-24 20:46:18 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-05-24 20:46:18 +0700 |
commit | a3a07f74c2ae07228620cccb3c86d08d65586519 (patch) | |
tree | ac55767e867994893deee3d090ce264cf9da6ada /crypto/src/openpgp | |
parent | Fix project files plus portability fixes (diff) | |
download | BouncyCastle.NET-ed25519-a3a07f74c2ae07228620cccb3c86d08d65586519.tar.xz |
Portability fixes
Diffstat (limited to '')
-rw-r--r-- | crypto/src/openpgp/PgpObjectFactory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpObjectFactory.cs b/crypto/src/openpgp/PgpObjectFactory.cs index c31cd221c..3abb6c945 100644 --- a/crypto/src/openpgp/PgpObjectFactory.cs +++ b/crypto/src/openpgp/PgpObjectFactory.cs @@ -151,7 +151,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp PgpObject pgpObject; while ((pgpObject = NextPgpObject()) != null) { - if (type.IsAssignableFrom(pgpObject.GetType())) + if (type.IsInstanceOfType(pgpObject.GetType())) { result.Add(pgpObject); } |