oh dear
This commit is contained in:
+132
@@ -0,0 +1,132 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified
|
||||
{
|
||||
// Token: 0x02001E3C RID: 7740
|
||||
[Token(Token = "0x2001E3C")]
|
||||
public class QCStatement : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C435 RID: 50229 RVA: 0x002CC2FC File Offset: 0x002CA4FC
|
||||
[Token(Token = "0x600C435")]
|
||||
[Address(RVA = "0x2B3D290", Offset = "0x2B3C090", VA = "0x182B3D290")]
|
||||
public static QCStatement GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C435)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified.QCStatement BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified.QCStatement::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_50:
|
||||
stloc:string(var_10_56, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_11_6E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in GetInstance: "), ldloc:string(var_10_56)), 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: 0x0600C436 RID: 50230 RVA: 0x002CC378 File Offset: 0x002CA578
|
||||
[Token(Token = "0x600C436")]
|
||||
[Address(RVA = "0x2B3D660", Offset = "0x2B3C460", VA = "0x182B3D660")]
|
||||
private QCStatement(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
this.qcStatementId = derObjectIdentifier;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
this.qcStatementInfo = parser2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C437 RID: 50231 RVA: 0x002CC3B4 File Offset: 0x002CA5B4
|
||||
[Token(Token = "0x600C437")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public QCStatement(DerObjectIdentifier qcStatementId)
|
||||
{
|
||||
this.qcStatementId = qcStatementId;
|
||||
}
|
||||
|
||||
// Token: 0x0600C438 RID: 50232 RVA: 0x002CC3D0 File Offset: 0x002CA5D0
|
||||
[Token(Token = "0x600C438")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public QCStatement(DerObjectIdentifier qcStatementId, Asn1Encodable qcStatementInfo)
|
||||
{
|
||||
this.qcStatementId = qcStatementId;
|
||||
this.qcStatementInfo = qcStatementInfo;
|
||||
}
|
||||
|
||||
// Token: 0x17001E71 RID: 7793
|
||||
// (get) Token: 0x0600C439 RID: 50233 RVA: 0x002CC3F4 File Offset: 0x002CA5F4
|
||||
[Token(Token = "0x17001E71")]
|
||||
public DerObjectIdentifier StatementId
|
||||
{
|
||||
[Token(Token = "0x600C439")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.qcStatementId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E72 RID: 7794
|
||||
// (get) Token: 0x0600C43A RID: 50234 RVA: 0x002CC408 File Offset: 0x002CA608
|
||||
[Token(Token = "0x17001E72")]
|
||||
public Asn1Encodable StatementInfo
|
||||
{
|
||||
[Token(Token = "0x600C43A")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.qcStatementInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C43B RID: 50235 RVA: 0x002CC41C File Offset: 0x002CA61C
|
||||
[Token(Token = "0x600C43B")]
|
||||
[Address(RVA = "0x2B3D4F0", Offset = "0x2B3C2F0", VA = "0x182B3D4F0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier = this.qcStatementId;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.qcStatementInfo != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Encodable asn1Encodable = this.qcStatementInfo;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Encodable;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007BD2 RID: 31698
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BD2")]
|
||||
private readonly DerObjectIdentifier qcStatementId;
|
||||
|
||||
// Token: 0x04007BD3 RID: 31699
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007BD3")]
|
||||
private readonly Asn1Encodable qcStatementInfo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user