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

82 lines
4.3 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
{
// Token: 0x0200137B RID: 4987
[Token(Token = "0x200137B")]
[StructLayout(3)]
public sealed class EmptyEnumerator : IEnumerator
{
// Token: 0x06007E1A RID: 32282 RVA: 0x001A7738 File Offset: 0x001A5938
[Token(Token = "0x6007E1A")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
private EmptyEnumerator()
{
this.Reset();
}
// Token: 0x06007E1B RID: 32283 RVA: 0x001A774C File Offset: 0x001A594C
[Token(Token = "0x6007E1B")]
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "4")]
public bool MoveNext()
{
}
// Token: 0x06007E1C RID: 32284 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6007E1C")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "6")]
public void Reset()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x1700147A RID: 5242
// (get) Token: 0x06007E1D RID: 32285 RVA: 0x001A775C File Offset: 0x001A595C
[Token(Token = "0x1700147A")]
public object Current
{
[Token(Token = "0x6007E1D")]
[Address(RVA = "0x1C5F4A0", Offset = "0x1C5DEA0", VA = "0x181C5F4A0", Slot = "5")]
get
{
/*
An exception occurred when decompiling this method (06007E1D)
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 1663
*/;
}
}
// Token: 0x06007E1E RID: 32286 RVA: 0x001A7774 File Offset: 0x001A5974
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6007E1E")]
[Address(RVA = "0x1C5F440", Offset = "0x1C5DE40", VA = "0x181C5F440")]
static EmptyEnumerator()
{
EmptyEnumerator emptyEnumerator;
emptyEnumerator.Reset();
}
// Token: 0x04005A4E RID: 23118
[Token(Token = "0x4005A4E")]
public static readonly IEnumerator Instance;
}
}