using System; using System.Collections; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections { // Token: 0x0200195C RID: 6492 [Token(Token = "0x200195C")] public class LinkedDictionary : IDictionary, ICollection, IEnumerable { // Token: 0x06009A14 RID: 39444 RVA: 0x001FF054 File Offset: 0x001FD254 [Token(Token = "0x6009A14")] [Address(RVA = "0x18E49E0", Offset = "0x18E37E0", VA = "0x1818E49E0")] public LinkedDictionary() { Hashtable hashtable = new Hashtable(); this.hash = hashtable; ArrayList arrayList = new ArrayList(); this.keys = arrayList; base..ctor(); } // Token: 0x06009A15 RID: 39445 RVA: 0x001FF084 File Offset: 0x001FD284 [Token(Token = "0x6009A15")] [Address(RVA = "0x18E4560", Offset = "0x18E3360", VA = "0x1818E4560", Slot = "20")] public virtual void Add(object k, object v) { IDictionary dictionary = this.hash; IList list = this.keys; throw new NullReferenceException(); } // Token: 0x06009A16 RID: 39446 RVA: 0x001FF0A4 File Offset: 0x001FD2A4 [Token(Token = "0x6009A16")] [Address(RVA = "0x18E45F0", Offset = "0x18E33F0", VA = "0x1818E45F0", Slot = "21")] public virtual void Clear() { IDictionary dictionary = this.hash; IList list = this.keys; throw new NullReferenceException(); } // Token: 0x06009A17 RID: 39447 RVA: 0x001FF0C4 File Offset: 0x001FD2C4 [Token(Token = "0x6009A17")] [Address(RVA = "0x18E4660", Offset = "0x18E3460", VA = "0x1818E4660", Slot = "22")] public virtual bool Contains(object k) { IDictionary dictionary = this.hash; throw new NullReferenceException(); } // Token: 0x06009A18 RID: 39448 RVA: 0x001FF0E0 File Offset: 0x001FD2E0 [Token(Token = "0x6009A18")] [Address(RVA = "0x18E46C0", Offset = "0x18E34C0", VA = "0x1818E46C0", Slot = "23")] public virtual void CopyTo(Array array, int index) { int num; do { num = 0; IList list = this.keys; num += num; num++; IDictionary dictionary = this.hash; uint num2; if (num < (int)num2) { num += num; num++; } array.SetValue(num, index); num += num; num++; num += 19; num += num; num += 19; if (num != 0) { } } while (num != 0); } // Token: 0x17001885 RID: 6277 // (get) Token: 0x06009A19 RID: 39449 RVA: 0x001FF14C File Offset: 0x001FD34C [Token(Token = "0x17001885")] public virtual int Count { [Token(Token = "0x6009A19")] [Address(RVA = "0x18E4AB0", Offset = "0x18E38B0", VA = "0x1818E4AB0", Slot = "24")] get { IDictionary dictionary = this.hash; throw new NullReferenceException(); } } // Token: 0x06009A1A RID: 39450 RVA: 0x001FF168 File Offset: 0x001FD368 [Token(Token = "0x6009A1A")] [Address(RVA = "0xE84020", Offset = "0xE82E20", VA = "0x180E84020", Slot = "19")] IEnumerator IEnumerable.GetEnumerator() { /* An exception occurred when decompiling this method (06009A1A) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionary::System.Collections.IEnumerable.GetEnumerator() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:IEnumerator`1(var_0_06, call:IEnumerator`1(IEnumerable`1::GetEnumerator, ldloc:LinkedDictionary[exp:IEnumerable`1](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: 0x06009A1B RID: 39451 RVA: 0x001FF17C File Offset: 0x001FD37C [Token(Token = "0x6009A1B")] [Address(RVA = "0x18E4900", Offset = "0x18E3700", VA = "0x1818E4900", Slot = "25")] public virtual IDictionaryEnumerator GetEnumerator() { /* An exception occurred when decompiling this method (06009A1B) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionaryEnumerator BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionary::GetEnumerator() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stfld:int32(LinkedDictionaryEnumerator::pos, ldloc:LinkedDictionaryEnumerator(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](4294967295))) stfld:LinkedDictionary(LinkedDictionaryEnumerator::parent, ldloc:LinkedDictionaryEnumerator(var_0), ldloc:LinkedDictionary(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: 0x06009A1C RID: 39452 RVA: 0x001FF1A0 File Offset: 0x001FD3A0 [Token(Token = "0x6009A1C")] [Address(RVA = "0x18E4960", Offset = "0x18E3760", VA = "0x1818E4960", Slot = "26")] public virtual void Remove(object k) { IDictionary dictionary = this.hash; IList list = this.keys; throw new NullReferenceException(); } // Token: 0x17001886 RID: 6278 // (get) Token: 0x06009A1D RID: 39453 RVA: 0x001FF1C0 File Offset: 0x001FD3C0 [Token(Token = "0x17001886")] public virtual bool IsFixedSize { [Token(Token = "0x6009A1D")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "27")] get { } } // Token: 0x17001887 RID: 6279 // (get) Token: 0x06009A1E RID: 39454 RVA: 0x001FF1D0 File Offset: 0x001FD3D0 [Token(Token = "0x17001887")] public virtual bool IsReadOnly { [Token(Token = "0x6009A1E")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "28")] get { } } // Token: 0x17001888 RID: 6280 // (get) Token: 0x06009A1F RID: 39455 RVA: 0x001FF1E0 File Offset: 0x001FD3E0 [Token(Token = "0x17001888")] public virtual bool IsSynchronized { [Token(Token = "0x6009A1F")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "29")] get { } } // Token: 0x17001889 RID: 6281 // (get) Token: 0x06009A20 RID: 39456 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x17001889")] public virtual object SyncRoot { [Token(Token = "0x6009A20")] [Address(RVA = "0x18E4BF0", Offset = "0x18E39F0", VA = "0x1818E4BF0", Slot = "30")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x1700188A RID: 6282 // (get) Token: 0x06009A21 RID: 39457 RVA: 0x001FF1F0 File Offset: 0x001FD3F0 [Token(Token = "0x1700188A")] public virtual ICollection Keys { [Token(Token = "0x6009A21")] [Address(RVA = "0x18E4B60", Offset = "0x18E3960", VA = "0x1818E4B60", Slot = "31")] get { /* An exception occurred when decompiling this method (06009A21) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.ICollection BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionary::get_Keys() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:ArrayList(var_0_0B, newobj:ArrayList(ArrayList::.ctor, ldfld:IList[exp:ICollection](LinkedDictionary::keys, ldloc:LinkedDictionary(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: 0x1700188B RID: 6283 // (get) Token: 0x06009A22 RID: 39458 RVA: 0x001FF208 File Offset: 0x001FD408 [Token(Token = "0x1700188B")] public virtual ICollection Values { [Token(Token = "0x6009A22")] [Address(RVA = "0x18E4C30", Offset = "0x18E3A30", VA = "0x1818E4C30", Slot = "32")] get { int num; do { num = 0; IList list = this.keys; IList list2 = this.keys; ArrayList arrayList; if (arrayList != 0) { if (num < arrayList) { num += num; num++; } IDictionary dictionary = this.hash; uint num2; if (num < (int)num2) { num += num; num++; } int num3 = 0; if (num < num3) { num += num; num++; } num += num; num += num; num += num; } bool flag; if (flag) { } } while (num != 0); throw new NullReferenceException(); } } // Token: 0x1700188C RID: 6284 [Token(Token = "0x1700188C")] public virtual object this[object k] { [Token(Token = "0x6009A23")] [Address(RVA = "0x18E4B00", Offset = "0x18E3900", VA = "0x1818E4B00", Slot = "33")] get { IDictionary dictionary = this.hash; throw new NullReferenceException(); } [Token(Token = "0x6009A24")] [Address(RVA = "0x18E4F60", Offset = "0x18E3D60", VA = "0x1818E4F60", Slot = "34")] set { IDictionary dictionary = this.hash; IList list = this.keys; IDictionary dictionary2 = this.hash; } } // Token: 0x04006894 RID: 26772 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4006894")] internal readonly IDictionary hash; // Token: 0x04006895 RID: 26773 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4006895")] internal readonly IList keys; } }