diff --git a/crypto/test/src/cms/test/AuthenticatedDataTest.cs b/crypto/test/src/cms/test/AuthenticatedDataTest.cs
index 55f220265..f1e7103b2 100644
--- a/crypto/test/src/cms/test/AuthenticatedDataTest.cs
+++ b/crypto/test/src/cms/test/AuthenticatedDataTest.cs
@@ -1,5 +1,4 @@
using System;
-using System.Collections;
using System.Text;
using NUnit.Framework;
@@ -167,7 +166,7 @@ namespace Org.BouncyCastle.Cms.Tests
Assert.AreEqual(CmsAuthenticatedDataGenerator.DesEde3Cbc, ad.MacAlgOid);
- ICollection c = recipients.GetRecipients();
+ var c = recipients.GetRecipients();
Assert.AreEqual(1, c.Count);
@@ -199,7 +198,7 @@ namespace Org.BouncyCastle.Cms.Tests
Assert.AreEqual(CmsAuthenticatedDataGenerator.DesEde3Cbc, ad.MacAlgOid);
- ICollection c = recipients.GetRecipients();
+ var c = recipients.GetRecipients();
Assert.AreEqual(1, c.Count);
@@ -230,7 +229,7 @@ namespace Org.BouncyCastle.Cms.Tests
Assert.AreEqual(ad.MacAlgOid, macAlg);
- ICollection c = recipients.GetRecipients();
+ var c = recipients.GetRecipients();
Assert.AreEqual(1, c.Count);
@@ -266,7 +265,7 @@ namespace Org.BouncyCastle.Cms.Tests
Assert.AreEqual(CmsAuthenticatedDataGenerator.DesEde3Cbc, ad.MacAlgOid);
- ICollection c = recipients.GetRecipients();
+ var c = recipients.GetRecipients();
Assert.AreEqual(1, c.Count);
@@ -297,7 +296,7 @@ namespace Org.BouncyCastle.Cms.Tests
Assert.AreEqual(CmsAuthenticatedDataGenerator.DesEde3Cbc, ad.MacAlgOid);
- ICollection c = recipients.GetRecipients();
+ var c = recipients.GetRecipients();
Assert.AreEqual(1, c.Count);
|