Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Utilities/Collections/EmptyEnumerator.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

80 lines
4.2 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
{
// Token: 0x02001A38 RID: 6712
[Token(Token = "0x2001A38")]
public sealed class EmptyEnumerator : IEnumerator
{
// Token: 0x06009DC2 RID: 40386 RVA: 0x00207E38 File Offset: 0x00206038
[Token(Token = "0x6009DC2")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
private EmptyEnumerator()
{
this.Reset();
}
// Token: 0x06009DC3 RID: 40387 RVA: 0x00207E4C File Offset: 0x0020604C
[Token(Token = "0x6009DC3")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "4")]
public bool MoveNext()
{
}
// Token: 0x06009DC4 RID: 40388 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6009DC4")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "6")]
public void Reset()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x17001918 RID: 6424
// (get) Token: 0x06009DC5 RID: 40389 RVA: 0x00207E5C File Offset: 0x0020605C
[Token(Token = "0x17001918")]
public object Current
{
[Token(Token = "0x6009DC5")]
[Address(RVA = "0x4E6960", Offset = "0x4E5960", VA = "0x1804E6960", Slot = "5")]
get
{
/*
An exception occurred when decompiling this method (06009DC5)
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: 0x06009DC6 RID: 40390 RVA: 0x00207E74 File Offset: 0x00206074
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6009DC6")]
[Address(RVA = "0x4E6900", Offset = "0x4E5900", VA = "0x1804E6900")]
static EmptyEnumerator()
{
EmptyEnumerator emptyEnumerator;
emptyEnumerator.Reset();
}
// Token: 0x04006A4A RID: 27210
[Token(Token = "0x4006A4A")]
public static readonly IEnumerator Instance;
}
}