internal DerSet(Asn1EncodableVector v, bool needsSorting) : base(v.Count) { IEnumerator enumerator = v.GetEnumerator(); try { while (enumerator.MoveNext()) { Asn1Encodable current = (Asn1Encodable)enumerator.Current; base.AddObject(current); } } finally { if (enumerator is IDisposable disposable) { IDisposable disposable; disposable.Dispose(); } } if (needsSorting) { base.Sort(); } }
internal DerSet(Asn1EncodableVector v, bool needsSorting) : base(v.Count) { global::System.Collections.IEnumerator enumerator = v.GetEnumerator(); try { while (enumerator.MoveNext()) { Asn1Encodable obj = (Asn1Encodable)enumerator.get_Current(); AddObject(obj); } } finally { global::System.IDisposable disposable = enumerator as global::System.IDisposable; if (disposable != null) { disposable.Dispose(); } } if (needsSorting) { Sort(); } }
public DerSequence(Asn1EncodableVector v) : base(v.Count) { global::System.Collections.IEnumerator enumerator = v.GetEnumerator(); try { while (enumerator.MoveNext()) { Asn1Encodable obj = (Asn1Encodable)enumerator.get_Current(); AddObject(obj); } } finally { global::System.IDisposable disposable = enumerator as global::System.IDisposable; if (disposable != null) { disposable.Dispose(); } } }
public DerSequence(Asn1EncodableVector v) : base(v.Count) { IEnumerator enumerator = v.GetEnumerator(); try { while (enumerator.MoveNext()) { Asn1Encodable current = (Asn1Encodable)enumerator.Current; base.AddObject(current); } } finally { if (enumerator is IDisposable disposable) { IDisposable disposable; disposable.Dispose(); } } }