summary refs log tree commit diff
path: root/crypto/src/openpgp/PgpSignatureList.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-21 18:57:52 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 18:57:52 +0700
commit84a1abd2bb12af82623c136243240e52a88e0bf4 (patch)
tree5a9828c8785a54c5b293ba484bdd0e2f2431600f /crypto/src/openpgp/PgpSignatureList.cs
parentUpdate copyright (diff)
downloadBouncyCastle.NET-ed25519-84a1abd2bb12af82623c136243240e52a88e0bf4.tar.xz
ObsoleteAttribute cleanup
Diffstat (limited to 'crypto/src/openpgp/PgpSignatureList.cs')
-rw-r--r--crypto/src/openpgp/PgpSignatureList.cs15
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; }