private void Parse() { Debug.Assert(parsed == false); Asn1InputStream e = new LazyAsn1InputStream(encoded); Asn1Object o; while ((o = e.ReadObject()) != null) { AddObject(o); } encoded = null; parsed = true; }
private void Parse() { lock (this) { if (encoded != null) { Asn1InputStream e = new LazyAsn1InputStream(encoded); Asn1Object o; while ((o = e.ReadObject()) != null) { AddObject(o); } encoded = null; } } }
private void Parse() { object obj2 = this; lock (obj2) { if (this.encoded != null) { Asn1Object obj3; Asn1InputStream stream = new LazyAsn1InputStream(this.encoded); while ((obj3 = stream.ReadObject()) != null) { base.AddObject(obj3); } this.encoded = null; } } }
private void Parse() { lock (this) { if (null != encoded) { Asn1EncodableVector v = new Asn1EncodableVector(); Asn1InputStream e = new LazyAsn1InputStream(encoded); Asn1Object o; while ((o = e.ReadObject()) != null) { v.Add(o); } this.elements = v.TakeElements(); this.encoded = null; } } }