Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Utilities/Collections/LinkedDictionary.cs
T
2026-04-08 23:40:05 +02:00

335 lines
15 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
{
// Token: 0x0200137F RID: 4991
[Token(Token = "0x200137F")]
[StructLayout(3)]
public class LinkedDictionary : IDictionary, ICollection, IEnumerable
{
// Token: 0x06007E3A RID: 32314 RVA: 0x001A7A00 File Offset: 0x001A5C00
[Token(Token = "0x6007E3A")]
[Address(RVA = "0x1C611E0", Offset = "0x1C5FBE0", VA = "0x181C611E0")]
public LinkedDictionary()
{
IDictionary dictionary = Platform.CreateHashtable();
this.hash = dictionary;
IList list = Platform.CreateArrayList();
this.keys = list;
base..ctor();
}
// Token: 0x06007E3B RID: 32315 RVA: 0x001A7A34 File Offset: 0x001A5C34
[Token(Token = "0x6007E3B")]
[Address(RVA = "0x1C60D30", Offset = "0x1C5F730", VA = "0x181C60D30", Slot = "20")]
public virtual void Add(object k, object v)
{
IDictionary dictionary = this.hash;
IList list = this.keys;
throw new NullReferenceException();
}
// Token: 0x06007E3C RID: 32316 RVA: 0x001A7A54 File Offset: 0x001A5C54
[Token(Token = "0x6007E3C")]
[Address(RVA = "0x1C60DC0", Offset = "0x1C5F7C0", VA = "0x181C60DC0", Slot = "21")]
public virtual void Clear()
{
IDictionary dictionary = this.hash;
IList list = this.keys;
throw new NullReferenceException();
}
// Token: 0x06007E3D RID: 32317 RVA: 0x001A7A74 File Offset: 0x001A5C74
[Token(Token = "0x6007E3D")]
[Address(RVA = "0x1C60E30", Offset = "0x1C5F830", VA = "0x181C60E30", Slot = "22")]
public virtual bool Contains(object k)
{
IDictionary dictionary = this.hash;
throw new NullReferenceException();
}
// Token: 0x06007E3E RID: 32318 RVA: 0x001A7A90 File Offset: 0x001A5C90
[Token(Token = "0x6007E3E")]
[Address(RVA = "0x1C60E90", Offset = "0x1C5F890", VA = "0x181C60E90", 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)
{
}
if (num != -1)
{
}
}
while (num != 0);
}
// Token: 0x17001484 RID: 5252
// (get) Token: 0x06007E3F RID: 32319 RVA: 0x001A7B00 File Offset: 0x001A5D00
[Token(Token = "0x17001484")]
public virtual int Count
{
[Token(Token = "0x6007E3F")]
[Address(RVA = "0x1C61250", Offset = "0x1C5FC50", VA = "0x181C61250", Slot = "24")]
get
{
IDictionary dictionary = this.hash;
throw new NullReferenceException();
}
}
// Token: 0x06007E40 RID: 32320 RVA: 0x001A7B1C File Offset: 0x001A5D1C
[Token(Token = "0x6007E40")]
[Address(RVA = "0x82C510", Offset = "0x82AF10", VA = "0x18082C510", Slot = "19")]
IEnumerator IEnumerable.GetEnumerator()
{
/*
An exception occurred when decompiling this method (06007E40)
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: 0x06007E41 RID: 32321 RVA: 0x001A7B30 File Offset: 0x001A5D30
[Token(Token = "0x6007E41")]
[Address(RVA = "0x1C61100", Offset = "0x1C5FB00", VA = "0x181C61100", Slot = "25")]
public virtual IDictionaryEnumerator GetEnumerator()
{
/*
An exception occurred when decompiling this method (06007E41)
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: 0x06007E42 RID: 32322 RVA: 0x001A7B54 File Offset: 0x001A5D54
[Token(Token = "0x6007E42")]
[Address(RVA = "0x1C61160", Offset = "0x1C5FB60", VA = "0x181C61160", Slot = "26")]
public virtual void Remove(object k)
{
IDictionary dictionary = this.hash;
IList list = this.keys;
throw new NullReferenceException();
}
// Token: 0x17001485 RID: 5253
// (get) Token: 0x06007E43 RID: 32323 RVA: 0x001A7B74 File Offset: 0x001A5D74
[Token(Token = "0x17001485")]
public virtual bool IsFixedSize
{
[Token(Token = "0x6007E43")]
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "27")]
get
{
}
}
// Token: 0x17001486 RID: 5254
// (get) Token: 0x06007E44 RID: 32324 RVA: 0x001A7B84 File Offset: 0x001A5D84
[Token(Token = "0x17001486")]
public virtual bool IsReadOnly
{
[Token(Token = "0x6007E44")]
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "28")]
get
{
}
}
// Token: 0x17001487 RID: 5255
// (get) Token: 0x06007E45 RID: 32325 RVA: 0x001A7B94 File Offset: 0x001A5D94
[Token(Token = "0x17001487")]
public virtual bool IsSynchronized
{
[Token(Token = "0x6007E45")]
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "29")]
get
{
}
}
// Token: 0x17001488 RID: 5256
// (get) Token: 0x06007E46 RID: 32326 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x17001488")]
public virtual object SyncRoot
{
[Token(Token = "0x6007E46")]
[Address(RVA = "0x1C61360", Offset = "0x1C5FD60", VA = "0x181C61360", Slot = "30")]
get
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
}
// Token: 0x17001489 RID: 5257
// (get) Token: 0x06007E47 RID: 32327 RVA: 0x001A7BA4 File Offset: 0x001A5DA4
[Token(Token = "0x17001489")]
public virtual ICollection Keys
{
[Token(Token = "0x6007E47")]
[Address(RVA = "0x1C61300", Offset = "0x1C5FD00", VA = "0x181C61300", Slot = "31")]
get
{
/*
An exception occurred when decompiling this method (06007E47)
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:IList(var_0_0B, call:IList(Platform::CreateArrayList, 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: 0x1700148A RID: 5258
// (get) Token: 0x06007E48 RID: 32328 RVA: 0x001A7BBC File Offset: 0x001A5DBC
[Token(Token = "0x1700148A")]
public virtual ICollection Values
{
[Token(Token = "0x6007E48")]
[Address(RVA = "0x1C613A0", Offset = "0x1C5FDA0", VA = "0x181C613A0", Slot = "32")]
get
{
int num;
do
{
num = 0;
IList list = this.keys;
IList list2 = this.keys;
IList list3;
if (list3 != 0)
{
if (num < list3)
{
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 += 19;
num += num;
num += 19;
num += num;
num += 2;
num += 19;
}
if (num != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
throw new NullReferenceException();
}
}
// Token: 0x1700148B RID: 5259
[Token(Token = "0x1700148B")]
public virtual object this[object k]
{
[Token(Token = "0x6007E49")]
[Address(RVA = "0x1C612A0", Offset = "0x1C5FCA0", VA = "0x181C612A0", Slot = "33")]
get
{
IDictionary dictionary = this.hash;
throw new NullReferenceException();
}
[Token(Token = "0x6007E4A")]
[Address(RVA = "0x1C616C0", Offset = "0x1C600C0", VA = "0x181C616C0", Slot = "34")]
set
{
IDictionary dictionary = this.hash;
IList list = this.keys;
IDictionary dictionary2 = this.hash;
}
}
// Token: 0x04005A51 RID: 23121
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4005A51")]
internal readonly IDictionary hash;
// Token: 0x04005A52 RID: 23122
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4005A52")]
internal readonly IList keys;
}
}