using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509 { // Token: 0x02001F03 RID: 7939 [Token(Token = "0x2001F03")] public class Targets : Asn1Encodable { // Token: 0x0600C724 RID: 50980 RVA: 0x002D04A0 File Offset: 0x002CE6A0 [Token(Token = "0x600C724")] [Address(RVA = "0x2E88C60", Offset = "0x2E87C60", VA = "0x182E88C60")] public static Targets GetInstance(object obj) { /* An exception occurred when decompiling this method (0600C724) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Targets BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Targets::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_29: stloc:string(var_6_2F, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_7_47, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2F)), 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.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: 0x0600C725 RID: 50981 RVA: 0x002D04F8 File Offset: 0x002CE6F8 [Token(Token = "0x600C725")] [Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")] private Targets(Asn1Sequence targets) { this.targets = targets; } // Token: 0x0600C726 RID: 50982 RVA: 0x002D0514 File Offset: 0x002CE714 [Token(Token = "0x600C726")] [Address(RVA = "0x2E88F80", Offset = "0x2E87F80", VA = "0x182E88F80")] public Targets(Target[] targets) { DerSequence derSequence = new DerSequence(targets); this.targets = derSequence; } // Token: 0x0600C727 RID: 50983 RVA: 0x002D0538 File Offset: 0x002CE738 [Token(Token = "0x600C727")] [Address(RVA = "0x2E88E50", Offset = "0x2E87E50", VA = "0x182E88E50", Slot = "6")] public virtual Target[] GetTargets() { Asn1Sequence asn1Sequence = this.targets; Asn1Encodable asn1Encodable; Target[] array = new Target[asn1Encodable]; int num = 0; Asn1Sequence asn1Sequence2 = this.targets; Asn1Encodable asn1Encodable2; if (num < asn1Encodable2) { Asn1SequenceParser parser = this.targets.Parser; Target target; if (target != 0) { } num++; array[0] = target; Asn1Sequence asn1Sequence3 = this.targets; } return array; } // Token: 0x0600C728 RID: 50984 RVA: 0x002D0590 File Offset: 0x002CE790 [Token(Token = "0x600C728")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")] public override Asn1Object ToAsn1Object() { /* An exception occurred when decompiling this method (0600C728) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Targets::ToAsn1Object() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(Targets::targets, ldloc:Targets(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: 0x04007CCF RID: 31951 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007CCF")] private readonly Asn1Sequence targets; } }