using System; using System.Collections; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1 { // Token: 0x020017A1 RID: 6049 [Token(Token = "0x20017A1")] [StructLayout(3)] public abstract class Asn1Sequence : Asn1Object, IEnumerable { // Token: 0x0600A346 RID: 41798 RVA: 0x002605C0 File Offset: 0x0025E7C0 [Token(Token = "0x600A346")] [Address(RVA = "0x2677F10", Offset = "0x2676910", VA = "0x182677F10")] public static Asn1Sequence GetInstance(object obj) { /* An exception occurred when decompiling this method (0600A346) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_3A: stloc:string(var_3_40, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_4_56, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in GetInstance: "), ldloc:string(var_3_40)), ldstr:string("obj"))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x0600A347 RID: 41799 RVA: 0x00260624 File Offset: 0x0025E824 [Token(Token = "0x600A347")] [Address(RVA = "0x2677C40", Offset = "0x2676640", VA = "0x182677C40")] public static Asn1Sequence GetInstance(Asn1TaggedObject obj, bool explicitly) { /* An exception occurred when decompiling this method (0600A347) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence::GetInstance(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_6F: stloc:ArgumentException(var_11_79, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("object implicit - explicit expected."))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x0600A348 RID: 41800 RVA: 0x002606AC File Offset: 0x0025E8AC [Token(Token = "0x600A348")] [Address(RVA = "0x2678240", Offset = "0x2676C40", VA = "0x182678240")] protected internal Asn1Sequence(int capacity) { IList list = Platform.CreateArrayList(capacity); this.seq = list; } // Token: 0x0600A349 RID: 41801 RVA: 0x002606D0 File Offset: 0x0025E8D0 [Token(Token = "0x600A349")] [Address(RVA = "0x2677BF0", Offset = "0x26765F0", VA = "0x182677BF0", Slot = "10")] public virtual IEnumerator GetEnumerator() { IList list = this.seq; throw new NullReferenceException(); } // Token: 0x0600A34A RID: 41802 RVA: 0x002606EC File Offset: 0x0025E8EC [Token(Token = "0x600A34A")] [Address(RVA = "0x5D3C80", Offset = "0x5D2680", VA = "0x1805D3C80")] [Obsolete] public IEnumerator GetObjects() { return ((IEnumerable)this).GetEnumerator(); } // Token: 0x17001999 RID: 6553 // (get) Token: 0x0600A34B RID: 41803 RVA: 0x00260700 File Offset: 0x0025E900 [Token(Token = "0x17001999")] public virtual Asn1SequenceParser Parser { [Token(Token = "0x600A34B")] [Address(RVA = "0x26783B0", Offset = "0x2676DB0", VA = "0x1826783B0", Slot = "11")] get { Asn1Sequence.Asn1SequenceParserImpl asn1SequenceParserImpl; asn1SequenceParserImpl.outer = this; Asn1Encodable asn1Encodable; asn1SequenceParserImpl.max = asn1Encodable; throw new NullReferenceException(); } } // Token: 0x1700199A RID: 6554 [Token(Token = "0x1700199A")] public virtual Asn1Encodable this[int index] { [Token(Token = "0x600A34C")] [Address(RVA = "0x2678300", Offset = "0x2676D00", VA = "0x182678300", Slot = "12")] get { IList list; do { list = this.seq; } while (list == 0); throw new NullReferenceException(); } } // Token: 0x0600A34D RID: 41805 RVA: 0x00260744 File Offset: 0x0025E944 [Token(Token = "0x600A34D")] [Address(RVA = "0x1F59C10", Offset = "0x1F58610", VA = "0x181F59C10")] [Obsolete] public Asn1Encodable GetObjectAt(int index) { /* An exception occurred when decompiling this method (0600A34D) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence::GetObjectAt(System.Int32) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:IEnumerator(var_0_06, call:IEnumerator(IEnumerable::GetEnumerator, ldloc:Asn1Sequence[exp:IEnumerable](this))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x1700199B RID: 6555 // (get) Token: 0x0600A34E RID: 41806 RVA: 0x00260758 File Offset: 0x0025E958 [Token(Token = "0x1700199B")] [Obsolete] public int Size { [Token(Token = "0x600A34E")] [Address(RVA = "0x9E3620", Offset = "0x9E2020", VA = "0x1809E3620")] get { /* An exception occurred when decompiling this method (0600A34E) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence::get_Size() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:IEnumerator(var_0_06, call:IEnumerator(IEnumerable::GetEnumerator, ldloc:Asn1Sequence[exp:IEnumerable](this))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } } // Token: 0x1700199C RID: 6556 // (get) Token: 0x0600A34F RID: 41807 RVA: 0x0026076C File Offset: 0x0025E96C [Token(Token = "0x1700199C")] public virtual int Count { [Token(Token = "0x600A34F")] [Address(RVA = "0x26782B0", Offset = "0x2676CB0", VA = "0x1826782B0", Slot = "13")] get { IList list = this.seq; throw new NullReferenceException(); } } // Token: 0x0600A350 RID: 41808 RVA: 0x00260788 File Offset: 0x0025E988 [Token(Token = "0x600A350")] [Address(RVA = "0x2677960", Offset = "0x2676360", VA = "0x182677960", Slot = "8")] protected override int Asn1GetHashCode() { int num; do { num = 0; IEnumerator enumerator = this.GetEnumerator(); if (enumerator != 0) { Asn1Encodable asn1Encodable; long num2 = asn1Encodable * (uint)17; if (enumerator != 0) { } DerNull.Instance.Finalize(); } if (num != -1) { } } while (num != 0); throw new NullReferenceException(); } // Token: 0x0600A351 RID: 41809 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x600A351")] [Address(RVA = "0x26777A0", Offset = "0x26761A0", VA = "0x1826777A0", Slot = "7")] protected override bool Asn1Equals(Asn1Object asn1Object) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600A352 RID: 41810 RVA: 0x002607CC File Offset: 0x0025E9CC [Token(Token = "0x600A352")] [Address(RVA = "0x2677B10", Offset = "0x2676510", VA = "0x182677B10")] private Asn1Encodable GetCurrent(IEnumerator e) { while (e == 0) { } DerNull instance = DerNull.Instance; throw new NullReferenceException(); } // Token: 0x0600A353 RID: 41811 RVA: 0x002607EC File Offset: 0x0025E9EC [Token(Token = "0x600A353")] [Address(RVA = "0x2677740", Offset = "0x2676140", VA = "0x182677740")] protected internal void AddObject(Asn1Encodable obj) { IList list = this.seq; throw new NullReferenceException(); } // Token: 0x0600A354 RID: 41812 RVA: 0x00260808 File Offset: 0x0025EA08 [Token(Token = "0x600A354")] [Address(RVA = "0x2678230", Offset = "0x2676C30", VA = "0x182678230", Slot = "3")] public override string ToString() { return CollectionUtilities.ToString(this.seq); } // Token: 0x04006B1A RID: 27418 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4006B1A")] private readonly IList seq; // Token: 0x020017A2 RID: 6050 [Token(Token = "0x20017A2")] private class Asn1SequenceParserImpl : Asn1SequenceParser, IAsn1Convertible { // Token: 0x0600A355 RID: 41813 RVA: 0x00260820 File Offset: 0x0025EA20 [Token(Token = "0x600A355")] [Address(RVA = "0x26776F0", Offset = "0x26760F0", VA = "0x1826776F0")] public Asn1SequenceParserImpl(Asn1Sequence outer) { this.outer = outer; Asn1Encodable asn1Encodable; this.max = asn1Encodable; } // Token: 0x0600A356 RID: 41814 RVA: 0x00260848 File Offset: 0x0025EA48 [Token(Token = "0x600A356")] [Address(RVA = "0x2677510", Offset = "0x2675F10", VA = "0x182677510", Slot = "4")] public IAsn1Convertible ReadObject() { Asn1SequenceParser parser; do { int num = this.index; if (num == this.max) { return; } Asn1Sequence asn1Sequence = this.outer; int num2 = num + 1; this.index = num2; parser = asn1Sequence.Parser; if (parser == 0) { return; } if (parser == 0) { if (parser == 0) { return; } if (parser == 0) { continue; } } } while (parser == 0 || parser == 0); return parser.ReadObject(); } // Token: 0x0600A357 RID: 41815 RVA: 0x002608B0 File Offset: 0x0025EAB0 [Token(Token = "0x600A357")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")] public Asn1Object ToAsn1Object() { /* An exception occurred when decompiling this method (0600A357) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence/Asn1SequenceParserImpl::ToAsn1Object() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(Asn1SequenceParserImpl::outer, ldloc:Asn1SequenceParserImpl(this))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x04006B1B RID: 27419 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4006B1B")] private readonly Asn1Sequence outer; // Token: 0x04006B1C RID: 27420 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4006B1C")] private readonly int max; // Token: 0x04006B1D RID: 27421 [global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")] [Token(Token = "0x4006B1D")] private int index; } } }