370 lines
22 KiB
C#
370 lines
22 KiB
C#
using System;
|
|
using System.Collections;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1
|
|
{
|
|
// Token: 0x02001D7E RID: 7550
|
|
[Token(Token = "0x2001D7E")]
|
|
public abstract class Asn1Sequence : Asn1Object, IEnumerable
|
|
{
|
|
// Token: 0x0600BF20 RID: 48928 RVA: 0x002B8A60 File Offset: 0x002B6C60
|
|
[Token(Token = "0x600BF20")]
|
|
[Address(RVA = "0x2640220", Offset = "0x263F020", VA = "0x182640220")]
|
|
public static Asn1Sequence GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BF20)
|
|
|
|
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: 0x0600BF21 RID: 48929 RVA: 0x002B8AC4 File Offset: 0x002B6CC4
|
|
[Token(Token = "0x600BF21")]
|
|
[Address(RVA = "0x263FF50", Offset = "0x263ED50", VA = "0x18263FF50")]
|
|
public static Asn1Sequence GetInstance(Asn1TaggedObject obj, bool explicitly)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BF21)
|
|
|
|
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: 0x0600BF22 RID: 48930 RVA: 0x002B8B4C File Offset: 0x002B6D4C
|
|
[Token(Token = "0x600BF22")]
|
|
[Address(RVA = "0x2640550", Offset = "0x263F350", VA = "0x182640550")]
|
|
protected internal Asn1Sequence(int capacity)
|
|
{
|
|
IList list = Platform.CreateArrayList(capacity);
|
|
this.seq = list;
|
|
}
|
|
|
|
// Token: 0x0600BF23 RID: 48931 RVA: 0x002B8B70 File Offset: 0x002B6D70
|
|
[Token(Token = "0x600BF23")]
|
|
[Address(RVA = "0x263FF00", Offset = "0x263ED00", VA = "0x18263FF00", Slot = "10")]
|
|
public virtual IEnumerator GetEnumerator()
|
|
{
|
|
IList list = this.seq;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BF24 RID: 48932 RVA: 0x002B8B8C File Offset: 0x002B6D8C
|
|
[Token(Token = "0x600BF24")]
|
|
[Address(RVA = "0x539EE0", Offset = "0x538CE0", VA = "0x180539EE0")]
|
|
[Obsolete]
|
|
public IEnumerator GetObjects()
|
|
{
|
|
return ((IEnumerable)this).GetEnumerator();
|
|
}
|
|
|
|
// Token: 0x17001D9A RID: 7578
|
|
// (get) Token: 0x0600BF25 RID: 48933 RVA: 0x002B8BA0 File Offset: 0x002B6DA0
|
|
[Token(Token = "0x17001D9A")]
|
|
public virtual Asn1SequenceParser Parser
|
|
{
|
|
[Token(Token = "0x600BF25")]
|
|
[Address(RVA = "0x26406C0", Offset = "0x263F4C0", VA = "0x1826406C0", Slot = "11")]
|
|
get
|
|
{
|
|
Asn1Sequence.Asn1SequenceParserImpl asn1SequenceParserImpl;
|
|
asn1SequenceParserImpl.outer = this;
|
|
Asn1Encodable asn1Encodable;
|
|
asn1SequenceParserImpl.max = asn1Encodable;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D9B RID: 7579
|
|
[Token(Token = "0x17001D9B")]
|
|
public virtual Asn1Encodable this[int index]
|
|
{
|
|
[Token(Token = "0x600BF26")]
|
|
[Address(RVA = "0x2640610", Offset = "0x263F410", VA = "0x182640610", Slot = "12")]
|
|
get
|
|
{
|
|
IList list;
|
|
do
|
|
{
|
|
list = this.seq;
|
|
}
|
|
while (list == 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF27 RID: 48935 RVA: 0x002B8BE4 File Offset: 0x002B6DE4
|
|
[Token(Token = "0x600BF27")]
|
|
[Address(RVA = "0x1A34680", Offset = "0x1A33480", VA = "0x181A34680")]
|
|
[Obsolete]
|
|
public Asn1Encodable GetObjectAt(int index)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BF27)
|
|
|
|
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: 0x17001D9C RID: 7580
|
|
// (get) Token: 0x0600BF28 RID: 48936 RVA: 0x002B8BF8 File Offset: 0x002B6DF8
|
|
[Token(Token = "0x17001D9C")]
|
|
[Obsolete]
|
|
public int Size
|
|
{
|
|
[Token(Token = "0x600BF28")]
|
|
[Address(RVA = "0x51A220", Offset = "0x519020", VA = "0x18051A220")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BF28)
|
|
|
|
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: 0x17001D9D RID: 7581
|
|
// (get) Token: 0x0600BF29 RID: 48937 RVA: 0x002B8C0C File Offset: 0x002B6E0C
|
|
[Token(Token = "0x17001D9D")]
|
|
public virtual int Count
|
|
{
|
|
[Token(Token = "0x600BF29")]
|
|
[Address(RVA = "0x26405C0", Offset = "0x263F3C0", VA = "0x1826405C0", Slot = "13")]
|
|
get
|
|
{
|
|
IList list = this.seq;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF2A RID: 48938 RVA: 0x002B8C28 File Offset: 0x002B6E28
|
|
[Token(Token = "0x600BF2A")]
|
|
[Address(RVA = "0x263FCA0", Offset = "0x263EAA0", VA = "0x18263FCA0", 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();
|
|
}
|
|
}
|
|
while (num != 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BF2B RID: 48939 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600BF2B")]
|
|
[Address(RVA = "0x263FAE0", Offset = "0x263E8E0", VA = "0x18263FAE0", Slot = "7")]
|
|
protected override bool Asn1Equals(Asn1Object asn1Object)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600BF2C RID: 48940 RVA: 0x002B8C68 File Offset: 0x002B6E68
|
|
[Token(Token = "0x600BF2C")]
|
|
[Address(RVA = "0x263FE20", Offset = "0x263EC20", VA = "0x18263FE20")]
|
|
private Asn1Encodable GetCurrent(IEnumerator e)
|
|
{
|
|
while (e == 0)
|
|
{
|
|
}
|
|
DerNull instance = DerNull.Instance;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BF2D RID: 48941 RVA: 0x002B8C88 File Offset: 0x002B6E88
|
|
[Token(Token = "0x600BF2D")]
|
|
[Address(RVA = "0x263FA80", Offset = "0x263E880", VA = "0x18263FA80")]
|
|
protected internal void AddObject(Asn1Encodable obj)
|
|
{
|
|
IList list = this.seq;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BF2E RID: 48942 RVA: 0x002B8CA4 File Offset: 0x002B6EA4
|
|
[Token(Token = "0x600BF2E")]
|
|
[Address(RVA = "0x2640540", Offset = "0x263F340", VA = "0x182640540", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return CollectionUtilities.ToString(this.seq);
|
|
}
|
|
|
|
// Token: 0x0400795D RID: 31069
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400795D")]
|
|
private readonly IList seq;
|
|
|
|
// Token: 0x02001D7F RID: 7551
|
|
[Token(Token = "0x2001D7F")]
|
|
private class Asn1SequenceParserImpl : Asn1SequenceParser, IAsn1Convertible
|
|
{
|
|
// Token: 0x0600BF2F RID: 48943 RVA: 0x002B8CBC File Offset: 0x002B6EBC
|
|
[Token(Token = "0x600BF2F")]
|
|
[Address(RVA = "0x263FA30", Offset = "0x263E830", VA = "0x18263FA30")]
|
|
public Asn1SequenceParserImpl(Asn1Sequence outer)
|
|
{
|
|
this.outer = outer;
|
|
Asn1Encodable asn1Encodable;
|
|
this.max = asn1Encodable;
|
|
}
|
|
|
|
// Token: 0x0600BF30 RID: 48944 RVA: 0x002B8CE4 File Offset: 0x002B6EE4
|
|
[Token(Token = "0x600BF30")]
|
|
[Address(RVA = "0x263F850", Offset = "0x263E650", VA = "0x18263F850", 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: 0x0600BF31 RID: 48945 RVA: 0x002B8D4C File Offset: 0x002B6F4C
|
|
[Token(Token = "0x600BF31")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
|
public Asn1Object ToAsn1Object()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BF31)
|
|
|
|
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: 0x0400795E RID: 31070
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400795E")]
|
|
private readonly Asn1Sequence outer;
|
|
|
|
// Token: 0x0400795F RID: 31071
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400795F")]
|
|
private readonly int max;
|
|
|
|
// Token: 0x04007960 RID: 31072
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x4007960")]
|
|
private int index;
|
|
}
|
|
}
|
|
}
|