summary refs log tree commit diff
path: root/crypto/src/asn1/LazyDLSequence.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-06-26 22:25:10 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-06-26 22:25:10 +0700
commit3535fc1c1b65880796f215a880ddab8cda70f516 (patch)
treead9587bc64d658aca4e22d0aa3f88a4bf4dcf994 /crypto/src/asn1/LazyDLSequence.cs
parentReplace IX509Store API with new store/selector API (diff)
downloadBouncyCastle.NET-ed25519-3535fc1c1b65880796f215a880ddab8cda70f516.tar.xz
Implement generic IEnumerable in ASN.1 classes
Diffstat (limited to 'crypto/src/asn1/LazyDLSequence.cs')
-rw-r--r--crypto/src/asn1/LazyDLSequence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/LazyDLSequence.cs b/crypto/src/asn1/LazyDLSequence.cs
index 96b9bbca1..d45706bb3 100644
--- a/crypto/src/asn1/LazyDLSequence.cs
+++ b/crypto/src/asn1/LazyDLSequence.cs
@@ -1,5 +1,5 @@
 using System;
-using System.Collections;
+using System.Collections.Generic;
 using System.IO;
 
 namespace Org.BouncyCastle.Asn1
@@ -28,7 +28,7 @@ namespace Org.BouncyCastle.Asn1
             }
         }
 
-        public override IEnumerator GetEnumerator()
+        public override IEnumerator<Asn1Encodable> GetEnumerator()
         {
             byte[] encoded = GetContents();
             if (null != encoded)