144 lines
6.0 KiB
C#
144 lines
6.0 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
|
{
|
|
// Token: 0x0200195D RID: 6493
|
|
[Token(Token = "0x200195D")]
|
|
internal class LinkedDictionaryEnumerator : IDictionaryEnumerator, IEnumerator
|
|
{
|
|
// Token: 0x06009A25 RID: 39461 RVA: 0x001FF2CC File Offset: 0x001FD4CC
|
|
[Token(Token = "0x6009A25")]
|
|
[Address(RVA = "0x45BBF0", Offset = "0x45A9F0", VA = "0x18045BBF0")]
|
|
internal LinkedDictionaryEnumerator(LinkedDictionary parent)
|
|
{
|
|
this.parent = parent;
|
|
}
|
|
|
|
// Token: 0x1700188D RID: 6285
|
|
// (get) Token: 0x06009A26 RID: 39462 RVA: 0x001FF2F8 File Offset: 0x001FD4F8
|
|
[Token(Token = "0x1700188D")]
|
|
public virtual object Current
|
|
{
|
|
[Token(Token = "0x6009A26")]
|
|
[Address(RVA = "0x18E43E0", Offset = "0x18E31E0", VA = "0x1818E43E0", Slot = "10")]
|
|
get
|
|
{
|
|
object obj;
|
|
return obj;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700188E RID: 6286
|
|
// (get) Token: 0x06009A27 RID: 39463 RVA: 0x001FF308 File Offset: 0x001FD508
|
|
[Token(Token = "0x1700188E")]
|
|
public virtual DictionaryEntry Entry
|
|
{
|
|
[Token(Token = "0x6009A27")]
|
|
[Address(RVA = "0x18E4440", Offset = "0x18E3240", VA = "0x1818E4440", Slot = "11")]
|
|
get
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700188F RID: 6287
|
|
// (get) Token: 0x06009A28 RID: 39464 RVA: 0x001FF320 File Offset: 0x001FD520
|
|
[Token(Token = "0x1700188F")]
|
|
public virtual object Key
|
|
{
|
|
[Token(Token = "0x6009A28")]
|
|
[Address(RVA = "0x18E44E0", Offset = "0x18E32E0", VA = "0x1818E44E0", Slot = "12")]
|
|
get
|
|
{
|
|
return this.CurrentKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009A29 RID: 39465 RVA: 0x001FF334 File Offset: 0x001FD534
|
|
[Token(Token = "0x6009A29")]
|
|
[Address(RVA = "0x18E4280", Offset = "0x18E3080", VA = "0x1818E4280", Slot = "13")]
|
|
public virtual bool MoveNext()
|
|
{
|
|
LinkedDictionary linkedDictionary = this.parent;
|
|
int num = this.pos;
|
|
IList keys = linkedDictionary.keys;
|
|
if (num < linkedDictionary)
|
|
{
|
|
int num2 = this.pos;
|
|
LinkedDictionary linkedDictionary2 = this.parent;
|
|
num2++;
|
|
this.pos = num2;
|
|
IList keys2 = linkedDictionary2.keys;
|
|
return num2 < linkedDictionary2;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06009A2A RID: 39466 RVA: 0x001FF38C File Offset: 0x001FD58C
|
|
[Token(Token = "0x6009A2A")]
|
|
[Address(RVA = "0x45BBE0", Offset = "0x45A9E0", VA = "0x18045BBE0", Slot = "14")]
|
|
public virtual void Reset()
|
|
{
|
|
this.pos = (int)((ulong)4294967295L);
|
|
}
|
|
|
|
// Token: 0x17001890 RID: 6288
|
|
// (get) Token: 0x06009A2B RID: 39467 RVA: 0x001FF3AC File Offset: 0x001FD5AC
|
|
[Token(Token = "0x17001890")]
|
|
public virtual object Value
|
|
{
|
|
[Token(Token = "0x6009A2B")]
|
|
[Address(RVA = "0x18E44F0", Offset = "0x18E32F0", VA = "0x1818E44F0", Slot = "15")]
|
|
get
|
|
{
|
|
IDictionary hash = this.parent.hash;
|
|
object currentKey = this.CurrentKey;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001891 RID: 6289
|
|
// (get) Token: 0x06009A2C RID: 39468 RVA: 0x001FF3D4 File Offset: 0x001FD5D4
|
|
[Token(Token = "0x17001891")]
|
|
private object CurrentKey
|
|
{
|
|
[Token(Token = "0x6009A2C")]
|
|
[Address(RVA = "0x18E4320", Offset = "0x18E3120", VA = "0x1818E4320")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009A2C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.LinkedDictionaryEnumerator::get_CurrentKey()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_25:
|
|
stloc:InvalidOperationException(var_4_2A, newobj:InvalidOperationException(InvalidOperationException::.ctor))
|
|
}
|
|
|
|
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: 0x04006896 RID: 26774
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4006896")]
|
|
private readonly LinkedDictionary parent;
|
|
|
|
// Token: 0x04006897 RID: 26775
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4006897")]
|
|
private int pos = (int)((ulong)4294967295L);
|
|
}
|
|
}
|