using System; using System.Collections; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections { // Token: 0x02001A3C RID: 6716 [Token(Token = "0x2001A3C")] public class LinkedDictionary : IDictionary, ICollection, IEnumerable { // Token: 0x06009DE2 RID: 40418 RVA: 0x002080EC File Offset: 0x002062EC [Token(Token = "0x6009DE2")] [Address(RVA = "0x4EE570", Offset = "0x4ED570", VA = "0x1804EE570")] public LinkedDictionary() { Hashtable hashtable = new Hashtable(); this.hash = hashtable; ArrayList arrayList = new ArrayList(); this.keys = arrayList; base..ctor(); } // Token: 0x06009DE3 RID: 40419 RVA: 0x0020811C File Offset: 0x0020631C [Token(Token = "0x6009DE3")] [Address(RVA = "0x4EE0D0", Offset = "0x4ED0D0", VA = "0x1804EE0D0", Slot = "20")] public virtual void Add(object k, object v) { IDictionary dictionary = this.hash; IList list = this.keys; throw new NullReferenceException(); } // Token: 0x06009DE4 RID: 40420 RVA: 0x0020813C File Offset: 0x0020633C [Token(Token = "0x6009DE4")] [Address(RVA = "0x4EE160", Offset = "0x4ED160", VA = "0x1804EE160", Slot = "21")] public virtual void Clear() { IDictionary dictionary = this.hash; IList list = this.keys; throw new NullReferenceException(); } // Token: 0x06009DE5 RID: 40421 RVA: 0x0020815C File Offset: 0x0020635C [Token(Token = "0x6009DE5")] [Address(RVA = "0x4EE1D0", Offset = "0x4ED1D0", VA = "0x1804EE1D0", Slot = "22")] public virtual bool Contains(object k) { IDictionary dictionary = this.hash; throw new NullReferenceException(); } // Token: 0x06009DE6 RID: 40422 RVA: 0x00208178 File Offset: 0x00206378 [Token(Token = "0x6009DE6")] [Address(RVA = "0x4EE230", Offset = "0x4ED230", VA = "0x1804EE230", 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: 0x17001922 RID: 6434 // (get) Token: 0x06009DE7 RID: 40423 RVA: 0x002081E4 File Offset: 0x002063E4 [Token(Token = "0x17001922")] public virtual int Count { [Token(Token = "0x6009DE7")] [Address(RVA = "0x4EE640", Offset = "0x4ED640", VA = "0x1804EE640", Slot = "24")] get { IDictionary dictionary = this.hash; throw new NullReferenceException(); } } // Token: 0x06009DE8 RID: 40424 RVA: 0x00208200 File Offset: 0x00206400 [Token(Token = "0x6009DE8")] [Address(RVA = "0x4EE550", Offset = "0x4ED550", VA = "0x1804EE550", Slot = "19")] IEnumerator IEnumerable.GetEnumerator() { /* An exception occurred when decompiling this method (06009DE8) 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 1663 */; } // Token: 0x06009DE9 RID: 40425 RVA: 0x00208214 File Offset: 0x00206414 [Token(Token = "0x6009DE9")] [Address(RVA = "0x4EE470", Offset = "0x4ED470", VA = "0x1804EE470", Slot = "25")] public virtual IDictionaryEnumerator GetEnumerator() { /* An exception occurred when decompiling this method (06009DE9) 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 1663 */; } // Token: 0x06009DEA RID: 40426 RVA: 0x00208238 File Offset: 0x00206438 [Token(Token = "0x6009DEA")] [Address(RVA = "0x4EE4D0", Offset = "0x4ED4D0", VA = "0x1804EE4D0", Slot = "26")] public virtual void Remove(object k) { IDictionary dictionary = this.hash; IList list = this.keys; throw new NullReferenceException(); } // Token: 0x17001923 RID: 6435 // (get) Token: 0x06009DEB RID: 40427 RVA: 0x00208258 File Offset: 0x00206458 [Token(Token = "0x17001923")] public virtual bool IsFixedSize { [Token(Token = "0x6009DEB")] [Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "27")] get { } } // Token: 0x17001924 RID: 6436 // (get) Token: 0x06009DEC RID: 40428 RVA: 0x00208268 File Offset: 0x00206468 [Token(Token = "0x17001924")] public virtual bool IsReadOnly { [Token(Token = "0x6009DEC")] [Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "28")] get { } } // Token: 0x17001925 RID: 6437 // (get) Token: 0x06009DED RID: 40429 RVA: 0x00208278 File Offset: 0x00206478 [Token(Token = "0x17001925")] public virtual bool IsSynchronized { [Token(Token = "0x6009DED")] [Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "29")] get { } } // Token: 0x17001926 RID: 6438 // (get) Token: 0x06009DEE RID: 40430 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x17001926")] public virtual object SyncRoot { [Token(Token = "0x6009DEE")] [Address(RVA = "0x4EE780", Offset = "0x4ED780", VA = "0x1804EE780", Slot = "30")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17001927 RID: 6439 // (get) Token: 0x06009DEF RID: 40431 RVA: 0x00208288 File Offset: 0x00206488 [Token(Token = "0x17001927")] public virtual ICollection Keys { [Token(Token = "0x6009DEF")] [Address(RVA = "0x4EE6F0", Offset = "0x4ED6F0", VA = "0x1804EE6F0", Slot = "31")] get { /* An exception occurred when decompiling this method (06009DEF) 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 1663 */; } } // Token: 0x17001928 RID: 6440 // (get) Token: 0x06009DF0 RID: 40432 RVA: 0x002082A0 File Offset: 0x002064A0 [Token(Token = "0x17001928")] public virtual ICollection Values { [Token(Token = "0x6009DF0")] [Address(RVA = "0x4EE7C0", Offset = "0x4ED7C0", VA = "0x1804EE7C0", 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: 0x17001929 RID: 6441 [Token(Token = "0x17001929")] public virtual object this[object k] { [Token(Token = "0x6009DF1")] [Address(RVA = "0x4EE690", Offset = "0x4ED690", VA = "0x1804EE690", Slot = "33")] get { IDictionary dictionary = this.hash; throw new NullReferenceException(); } [Token(Token = "0x6009DF2")] [Address(RVA = "0x4EEAF0", Offset = "0x4EDAF0", VA = "0x1804EEAF0", Slot = "34")] set { IDictionary dictionary = this.hash; IList list = this.keys; IDictionary dictionary2 = this.hash; } } // Token: 0x04006A4D RID: 27213 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4006A4D")] internal readonly IDictionary hash; // Token: 0x04006A4E RID: 27214 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4006A4E")] internal readonly IList keys; } }