80 lines
4.2 KiB
C#
80 lines
4.2 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
|
|
{
|
|
// Token: 0x02001958 RID: 6488
|
|
[Token(Token = "0x2001958")]
|
|
public sealed class EmptyEnumerator : IEnumerator
|
|
{
|
|
// Token: 0x060099F4 RID: 39412 RVA: 0x001FEDA0 File Offset: 0x001FCFA0
|
|
[Token(Token = "0x60099F4")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
private EmptyEnumerator()
|
|
{
|
|
this.Reset();
|
|
}
|
|
|
|
// Token: 0x060099F5 RID: 39413 RVA: 0x001FEDB4 File Offset: 0x001FCFB4
|
|
[Token(Token = "0x60099F5")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "4")]
|
|
public bool MoveNext()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060099F6 RID: 39414 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60099F6")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "6")]
|
|
public void Reset()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x1700187B RID: 6267
|
|
// (get) Token: 0x060099F7 RID: 39415 RVA: 0x001FEDC4 File Offset: 0x001FCFC4
|
|
[Token(Token = "0x1700187B")]
|
|
public object Current
|
|
{
|
|
[Token(Token = "0x60099F7")]
|
|
[Address(RVA = "0x18DCE50", Offset = "0x18DBC50", VA = "0x1818DCE50", Slot = "5")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060099F7)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.EmptyEnumerator::get_Current()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:InvalidOperationException(var_0_0A, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("No elements")))
|
|
}
|
|
|
|
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: 0x060099F8 RID: 39416 RVA: 0x001FEDDC File Offset: 0x001FCFDC
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x60099F8")]
|
|
[Address(RVA = "0x18DCDF0", Offset = "0x18DBBF0", VA = "0x1818DCDF0")]
|
|
static EmptyEnumerator()
|
|
{
|
|
EmptyEnumerator emptyEnumerator;
|
|
emptyEnumerator.Reset();
|
|
}
|
|
|
|
// Token: 0x04006891 RID: 26769
|
|
[Token(Token = "0x4006891")]
|
|
public static readonly IEnumerator Instance;
|
|
}
|
|
}
|