oh dear
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001DEE RID: 7662
|
||||
[Token(Token = "0x2001DEE")]
|
||||
public class AttCertIssuer : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C1C8 RID: 49608 RVA: 0x002C17EC File Offset: 0x002BF9EC
|
||||
[Token(Token = "0x600C1C8")]
|
||||
[Address(RVA = "0x271DE40", Offset = "0x271CC40", VA = "0x18271DE40")]
|
||||
public static AttCertIssuer GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C1C8)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AttCertIssuer BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AttCertIssuer::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_55:
|
||||
stloc:string(var_11_5C, call:string(Platform::GetTypeName, ldloc:GeneralNames[exp:object](var_9)))
|
||||
stloc:ArgumentException(var_12_74, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_11_5C)), 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.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: 0x0600C1C9 RID: 49609 RVA: 0x002C1870 File Offset: 0x002BFA70
|
||||
[Token(Token = "0x600C1C9")]
|
||||
[Address(RVA = "0x271DE10", Offset = "0x271CC10", VA = "0x18271DE10")]
|
||||
public static AttCertIssuer GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return AttCertIssuer.GetInstance(obj.GetObject());
|
||||
}
|
||||
|
||||
// Token: 0x0600C1CA RID: 49610 RVA: 0x002C1890 File Offset: 0x002BFA90
|
||||
[Token(Token = "0x600C1CA")]
|
||||
[Address(RVA = "0x271E130", Offset = "0x271CF30", VA = "0x18271E130")]
|
||||
public AttCertIssuer(GeneralNames names)
|
||||
{
|
||||
this.obj = names;
|
||||
Asn1Object asn1Object = names.ToAsn1Object();
|
||||
this.choiceObj = asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1CB RID: 49611 RVA: 0x002C18C0 File Offset: 0x002BFAC0
|
||||
[Token(Token = "0x600C1CB")]
|
||||
[Address(RVA = "0x271E180", Offset = "0x271CF80", VA = "0x18271E180")]
|
||||
public AttCertIssuer(V2Form v2Form)
|
||||
{
|
||||
this.obj = v2Form;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, v2Form);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
this.choiceObj = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x17001DE2 RID: 7650
|
||||
// (get) Token: 0x0600C1CC RID: 49612 RVA: 0x002C18F0 File Offset: 0x002BFAF0
|
||||
[Token(Token = "0x17001DE2")]
|
||||
public Asn1Encodable Issuer
|
||||
{
|
||||
[Token(Token = "0x600C1CC")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C1CD RID: 49613 RVA: 0x002C1904 File Offset: 0x002BFB04
|
||||
[Token(Token = "0x600C1CD")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.choiceObj;
|
||||
}
|
||||
|
||||
// Token: 0x04007A57 RID: 31319
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007A57")]
|
||||
internal readonly Asn1Encodable obj;
|
||||
|
||||
// Token: 0x04007A58 RID: 31320
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007A58")]
|
||||
internal readonly Asn1Object choiceObj;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user