Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2002-10-22 01:26:01 +0400
committerMiguel de Icaza <miguel@gnome.org>2002-10-22 01:26:01 +0400
commit3c0dff28e5cb6233e03922269c2caf71726892a5 (patch)
tree7b575c8563d941a69a2a5bd37438e4e0b53af778 /mcs/class/System/System.Security.Cryptography.X509Certificates
parentbcb2db737592aa84a62a78d48a08e442d90c0e54 (diff)
2002-10-21 Miguel de Icaza <miguel@ximian.com>
* X509CertificateCollection.cs (Add): New method. svn path=/trunk/mcs/; revision=8457
Diffstat (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates')
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog4
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs8
2 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
index c8684168dca..0642777be8a 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-21 Miguel de Icaza <miguel@ximian.com>
+
+ * X509CertificateCollection.cs (Add): New method.
+
2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
* X509CertificateCollection.cs: implemented
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs
index 82546c7a295..c414ec8ab7a 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs
@@ -39,6 +39,14 @@ namespace System.Security.Cryptography.X509Certificates {
// Methods
+ public int Add (X509Certificate value)
+ {
+ if (value == null)
+ throw new ArgumentNullException ("value");
+
+ return list.Add (value);
+ }
+
public void AddRange (X509Certificate [] value)
{
if (value == null)