diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 18:57:52 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-21 18:57:52 +0700 |
commit | 84a1abd2bb12af82623c136243240e52a88e0bf4 (patch) | |
tree | 5a9828c8785a54c5b293ba484bdd0e2f2431600f /crypto/src/openpgp/PgpSignatureList.cs | |
parent | Update copyright (diff) | |
download | BouncyCastle.NET-ed25519-84a1abd2bb12af82623c136243240e52a88e0bf4.tar.xz |
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/openpgp/PgpSignatureList.cs')
-rw-r--r-- | crypto/src/openpgp/PgpSignatureList.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/crypto/src/openpgp/PgpSignatureList.cs b/crypto/src/openpgp/PgpSignatureList.cs index 61976fc4f..a2a23c70b 100644 --- a/crypto/src/openpgp/PgpSignatureList.cs +++ b/crypto/src/openpgp/PgpSignatureList.cs @@ -6,7 +6,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp public class PgpSignatureList : PgpObject { - private PgpSignature[] sigs; + private readonly PgpSignature[] sigs; public PgpSignatureList( PgpSignature[] sigs) @@ -25,19 +25,6 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp get { return sigs[index]; } } - [Obsolete("Use 'object[index]' syntax instead")] - public PgpSignature Get( - int index) - { - return this[index]; - } - - [Obsolete("Use 'Count' property instead")] - public int Size - { - get { return sigs.Length; } - } - public int Count { get { return sigs.Length; } |