Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Cms/RecipientInformationStore.cs
T
2026-04-10 22:50:51 +02:00

147 lines
5.7 KiB
C#

using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
{
// Token: 0x02001D67 RID: 7527
[Token(Token = "0x2001D67")]
public class RecipientInformationStore
{
// Token: 0x0600BE97 RID: 48791 RVA: 0x002B6C20 File Offset: 0x002B4E20
[Token(Token = "0x600BE97")]
[Address(RVA = "0x20137C0", Offset = "0x20125C0", VA = "0x1820137C0")]
public RecipientInformationStore(ICollection recipientInfos)
{
int num2;
do
{
IDictionary dictionary = Platform.CreateHashtable();
this.table = dictionary;
base..ctor();
IList list;
if (dictionary != 0)
{
int num = 0;
if (dictionary == 0)
{
goto IL_6F;
}
IDictionary dictionary2 = this.table;
if (num != 0 && num == 0)
{
goto IL_5D;
}
IDictionary dictionary3 = this.table;
list = Platform.CreateArrayList(1);
num2 = 0;
}
if (list != 0)
{
}
}
while (num2 != 0);
IList list2;
this.all = list2;
return;
IL_5D:
throw new NullReferenceException();
IL_6F:
throw new NullReferenceException();
}
// Token: 0x17001D85 RID: 7557
[Token(Token = "0x17001D85")]
public RecipientInformation this[RecipientID selector]
{
[Token(Token = "0x600BE98")]
[Address(RVA = "0x2013580", Offset = "0x2012380", VA = "0x182013580")]
get
{
IDictionary dictionary;
do
{
dictionary = this.table;
}
while (dictionary == 0);
throw new NullReferenceException();
}
}
// Token: 0x0600BE99 RID: 48793 RVA: 0x002B6CCC File Offset: 0x002B4ECC
[Token(Token = "0x600BE99")]
[Address(RVA = "0x2013580", Offset = "0x2012380", VA = "0x182013580")]
public RecipientInformation GetFirstRecipient(RecipientID selector)
{
IDictionary dictionary;
do
{
dictionary = this.table;
}
while (dictionary == 0);
throw new NullReferenceException();
}
// Token: 0x17001D86 RID: 7558
// (get) Token: 0x0600BE9A RID: 48794 RVA: 0x002B6CF0 File Offset: 0x002B4EF0
[Token(Token = "0x17001D86")]
public int Count
{
[Token(Token = "0x600BE9A")]
[Address(RVA = "0x2013A80", Offset = "0x2012880", VA = "0x182013A80")]
get
{
IList list = this.all;
throw new NullReferenceException();
}
}
// Token: 0x0600BE9B RID: 48795 RVA: 0x002B6D0C File Offset: 0x002B4F0C
[Token(Token = "0x600BE9B")]
[Address(RVA = "0x2013760", Offset = "0x2012560", VA = "0x182013760")]
public ICollection GetRecipients()
{
/*
An exception occurred when decompiling this method (0600BE9B)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.ICollection BestHTTP.SecureProtocol.Org.BouncyCastle.Cms.RecipientInformationStore::GetRecipients()
---> 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](RecipientInformationStore::all, ldloc:RecipientInformationStore(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: 0x0600BE9C RID: 48796 RVA: 0x002B6D24 File Offset: 0x002B4F24
[Token(Token = "0x600BE9C")]
[Address(RVA = "0x2013670", Offset = "0x2012470", VA = "0x182013670")]
public ICollection GetRecipients(RecipientID selector)
{
IDictionary dictionary = this.table;
IList list = Platform.CreateArrayList();
throw new NullReferenceException();
}
// Token: 0x04007936 RID: 31030
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007936")]
private readonly IList all;
// Token: 0x04007937 RID: 31031
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007937")]
private readonly IDictionary table;
}
}