diff options
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; } |