a
This commit is contained in:
@@ -0,0 +1,506 @@
|
||||
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: 0x02001D80 RID: 7552
|
||||
[Token(Token = "0x2001D80")]
|
||||
public abstract class Asn1Set : Asn1Object, IEnumerable
|
||||
{
|
||||
// Token: 0x0600BF32 RID: 48946 RVA: 0x002B8D60 File Offset: 0x002B6F60
|
||||
[Token(Token = "0x600BF32")]
|
||||
[Address(RVA = "0x2641310", Offset = "0x2640110", VA = "0x182641310")]
|
||||
public static Asn1Set GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BF32)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set::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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600BF33 RID: 48947 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600BF33")]
|
||||
[Address(RVA = "0x2640E40", Offset = "0x263FC40", VA = "0x182640E40")]
|
||||
public static Asn1Set GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600BF34 RID: 48948 RVA: 0x002B8DC4 File Offset: 0x002B6FC4
|
||||
[Token(Token = "0x600BF34")]
|
||||
[Address(RVA = "0x2641C10", Offset = "0x2640A10", VA = "0x182641C10")]
|
||||
protected internal Asn1Set(int capacity)
|
||||
{
|
||||
IList list = Platform.CreateArrayList(capacity);
|
||||
this._set = list;
|
||||
}
|
||||
|
||||
// Token: 0x0600BF35 RID: 48949 RVA: 0x002B8DE8 File Offset: 0x002B6FE8
|
||||
[Token(Token = "0x600BF35")]
|
||||
[Address(RVA = "0x2640DF0", Offset = "0x263FBF0", VA = "0x182640DF0", Slot = "10")]
|
||||
public virtual IEnumerator GetEnumerator()
|
||||
{
|
||||
IList set = this._set;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600BF36 RID: 48950 RVA: 0x002B8E04 File Offset: 0x002B7004
|
||||
[Token(Token = "0x600BF36")]
|
||||
[Address(RVA = "0x539EE0", Offset = "0x538CE0", VA = "0x180539EE0")]
|
||||
[Obsolete]
|
||||
public IEnumerator GetObjects()
|
||||
{
|
||||
return ((IEnumerable)this).GetEnumerator();
|
||||
}
|
||||
|
||||
// Token: 0x17001D9E RID: 7582
|
||||
[Token(Token = "0x17001D9E")]
|
||||
public virtual Asn1Encodable this[int index]
|
||||
{
|
||||
[Token(Token = "0x600BF37")]
|
||||
[Address(RVA = "0x2641CD0", Offset = "0x2640AD0", VA = "0x182641CD0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
IList set;
|
||||
do
|
||||
{
|
||||
set = this._set;
|
||||
}
|
||||
while (set == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600BF38 RID: 48952 RVA: 0x002B8E3C File Offset: 0x002B703C
|
||||
[Token(Token = "0x600BF38")]
|
||||
[Address(RVA = "0x2641630", Offset = "0x2640430", VA = "0x182641630")]
|
||||
[Obsolete]
|
||||
public Asn1Encodable GetObjectAt(int index)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BF38)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set::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:Asn1Set[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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001D9F RID: 7583
|
||||
// (get) Token: 0x0600BF39 RID: 48953 RVA: 0x002B8E50 File Offset: 0x002B7050
|
||||
[Token(Token = "0x17001D9F")]
|
||||
[Obsolete]
|
||||
public int Size
|
||||
{
|
||||
[Token(Token = "0x600BF39")]
|
||||
[Address(RVA = "0x53B2E0", Offset = "0x53A0E0", VA = "0x18053B2E0")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BF39)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set::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:Asn1Set[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 1660
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DA0 RID: 7584
|
||||
// (get) Token: 0x0600BF3A RID: 48954 RVA: 0x002B8E64 File Offset: 0x002B7064
|
||||
[Token(Token = "0x17001DA0")]
|
||||
public virtual int Count
|
||||
{
|
||||
[Token(Token = "0x600BF3A")]
|
||||
[Address(RVA = "0x2641C80", Offset = "0x2640A80", VA = "0x182641C80", Slot = "12")]
|
||||
get
|
||||
{
|
||||
IList set = this._set;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600BF3B RID: 48955 RVA: 0x002B8E80 File Offset: 0x002B7080
|
||||
[Token(Token = "0x600BF3B")]
|
||||
[Address(RVA = "0x2641B00", Offset = "0x2640900", VA = "0x182641B00", Slot = "13")]
|
||||
public virtual Asn1Encodable[] ToArray()
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
Asn1Encodable[] array = new Asn1Encodable[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (asn1Encodable2 > 0)
|
||||
{
|
||||
IEnumerator enumerator = this.GetEnumerator();
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = enumerator;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x17001DA1 RID: 7585
|
||||
// (get) Token: 0x0600BF3C RID: 48956 RVA: 0x002B8EBC File Offset: 0x002B70BC
|
||||
[Token(Token = "0x17001DA1")]
|
||||
public Asn1SetParser Parser
|
||||
{
|
||||
[Token(Token = "0x600BF3C")]
|
||||
[Address(RVA = "0x2641D80", Offset = "0x2640B80", VA = "0x182641D80")]
|
||||
get
|
||||
{
|
||||
Asn1Set.Asn1SetParserImpl asn1SetParserImpl;
|
||||
asn1SetParserImpl.outer = this;
|
||||
Asn1Encodable asn1Encodable;
|
||||
asn1SetParserImpl.max = asn1Encodable;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600BF3D RID: 48957 RVA: 0x002B8EDC File Offset: 0x002B70DC
|
||||
[Token(Token = "0x600BF3D")]
|
||||
[Address(RVA = "0x2640B90", Offset = "0x263F990", VA = "0x182640B90", 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: 0x0600BF3E RID: 48958 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600BF3E")]
|
||||
[Address(RVA = "0x26409D0", Offset = "0x263F7D0", VA = "0x1826409D0", Slot = "7")]
|
||||
protected override bool Asn1Equals(Asn1Object asn1Object)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600BF3F RID: 48959 RVA: 0x002B8F1C File Offset: 0x002B711C
|
||||
[Token(Token = "0x600BF3F")]
|
||||
[Address(RVA = "0x2640D10", Offset = "0x263FB10", VA = "0x182640D10")]
|
||||
private Asn1Encodable GetCurrent(IEnumerator e)
|
||||
{
|
||||
while (e == 0)
|
||||
{
|
||||
}
|
||||
DerNull instance = DerNull.Instance;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600BF40 RID: 48960 RVA: 0x002B8F3C File Offset: 0x002B713C
|
||||
[Token(Token = "0x600BF40")]
|
||||
[Address(RVA = "0x2641650", Offset = "0x2640450", VA = "0x182641650")]
|
||||
protected internal void Sort()
|
||||
{
|
||||
Asn1Encodable[] array;
|
||||
byte[][] array2;
|
||||
int num;
|
||||
do
|
||||
{
|
||||
IList set = this._set;
|
||||
IList set2 = this._set;
|
||||
array = new Asn1Encodable[0];
|
||||
IList set3 = this._set;
|
||||
array2 = new byte[array][];
|
||||
IList set4 = this._set;
|
||||
num = 0;
|
||||
if (num < set3)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (num >= array2)
|
||||
{
|
||||
goto IL_B1;
|
||||
}
|
||||
IList set5 = this._set;
|
||||
uint num2;
|
||||
if (num < (int)num2)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
num++;
|
||||
num += 19;
|
||||
num += 19;
|
||||
}
|
||||
}
|
||||
while (num == 0);
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
array[0] = num;
|
||||
byte[] array3;
|
||||
if (array3 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = array3;
|
||||
num++;
|
||||
IList set6 = this._set;
|
||||
IL_B1:
|
||||
Asn1Set.DerComparer derComparer = new Asn1Set.DerComparer();
|
||||
Array.Sort(array2, array, derComparer);
|
||||
IList set7 = this._set;
|
||||
if (num < derComparer)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (num < num)
|
||||
{
|
||||
IList set8 = this._set;
|
||||
uint num3;
|
||||
if (num < (int)num3)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
IList set9 = this._set;
|
||||
num++;
|
||||
while (set9 != 0)
|
||||
{
|
||||
}
|
||||
num += num;
|
||||
num++;
|
||||
num += 19;
|
||||
num += num;
|
||||
num++;
|
||||
num += 19;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600BF41 RID: 48961 RVA: 0x002B9088 File Offset: 0x002B7288
|
||||
[Token(Token = "0x600BF41")]
|
||||
[Address(RVA = "0x2640970", Offset = "0x263F770", VA = "0x182640970")]
|
||||
protected internal void AddObject(Asn1Encodable obj)
|
||||
{
|
||||
IList set = this._set;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600BF42 RID: 48962 RVA: 0x002B90A4 File Offset: 0x002B72A4
|
||||
[Token(Token = "0x600BF42")]
|
||||
[Address(RVA = "0x2640540", Offset = "0x263F340", VA = "0x182640540", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return CollectionUtilities.ToString(this._set);
|
||||
}
|
||||
|
||||
// Token: 0x04007961 RID: 31073
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007961")]
|
||||
private readonly IList _set;
|
||||
|
||||
// Token: 0x02001D81 RID: 7553
|
||||
[Token(Token = "0x2001D81")]
|
||||
private class Asn1SetParserImpl : Asn1SetParser, IAsn1Convertible
|
||||
{
|
||||
// Token: 0x0600BF43 RID: 48963 RVA: 0x002B90BC File Offset: 0x002B72BC
|
||||
[Token(Token = "0x600BF43")]
|
||||
[Address(RVA = "0x2640920", Offset = "0x263F720", VA = "0x182640920")]
|
||||
public Asn1SetParserImpl(Asn1Set outer)
|
||||
{
|
||||
this.outer = outer;
|
||||
Asn1Encodable asn1Encodable;
|
||||
this.max = asn1Encodable;
|
||||
}
|
||||
|
||||
// Token: 0x0600BF44 RID: 48964 RVA: 0x002B90E4 File Offset: 0x002B72E4
|
||||
[Token(Token = "0x600BF44")]
|
||||
[Address(RVA = "0x2640740", Offset = "0x263F540", VA = "0x182640740", Slot = "4")]
|
||||
public IAsn1Convertible ReadObject()
|
||||
{
|
||||
IEnumerator enumerator;
|
||||
do
|
||||
{
|
||||
int num = this.index;
|
||||
if (num == this.max)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Asn1Set asn1Set = this.outer;
|
||||
int num2 = num + 1;
|
||||
this.index = num2;
|
||||
enumerator = asn1Set.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
if (enumerator == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
while (enumerator == 0 || enumerator == 0);
|
||||
bool flag = enumerator.MoveNext();
|
||||
}
|
||||
|
||||
// Token: 0x0600BF45 RID: 48965 RVA: 0x002B914C File Offset: 0x002B734C
|
||||
[Token(Token = "0x600BF45")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
public virtual Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BF45)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set/Asn1SetParserImpl::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1Set(var_0_06, ldfld:Asn1Set(Asn1SetParserImpl::outer, ldloc:Asn1SetParserImpl(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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04007962 RID: 31074
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007962")]
|
||||
private readonly Asn1Set outer;
|
||||
|
||||
// Token: 0x04007963 RID: 31075
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007963")]
|
||||
private readonly int max;
|
||||
|
||||
// Token: 0x04007964 RID: 31076
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x4007964")]
|
||||
private int index;
|
||||
}
|
||||
|
||||
// Token: 0x02001D82 RID: 7554
|
||||
[Token(Token = "0x2001D82")]
|
||||
private class DerComparer : IComparer
|
||||
{
|
||||
// Token: 0x0600BF46 RID: 48966 RVA: 0x002B9160 File Offset: 0x002B7360
|
||||
[Token(Token = "0x600BF46")]
|
||||
[Address(RVA = "0x264C9D0", Offset = "0x264B7D0", VA = "0x18264C9D0", Slot = "4")]
|
||||
public int Compare(object x, object y)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BF46)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set/DerComparer::Compare(System.Object,System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_4:
|
||||
stloc:int32(var_2, add:int32(ldloc:int32(var_2), ldc.i4:int32(1)))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600BF47 RID: 48967 RVA: 0x002B91A8 File Offset: 0x002B73A8
|
||||
[Token(Token = "0x600BF47")]
|
||||
[Address(RVA = "0x264C980", Offset = "0x264B780", VA = "0x18264C980")]
|
||||
private bool AllZeroesFrom(byte[] bs, int pos)
|
||||
{
|
||||
int length = bs.Length;
|
||||
if (pos < length)
|
||||
{
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x0600BF48 RID: 48968 RVA: 0x002B91CC File Offset: 0x002B73CC
|
||||
[Token(Token = "0x600BF48")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public DerComparer()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user