using System; using System.Collections; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms { // Token: 0x02001E47 RID: 7751 [Token(Token = "0x2001E47")] public class RecipientInformationStore { // Token: 0x0600C265 RID: 49765 RVA: 0x002BF518 File Offset: 0x002BD718 [Token(Token = "0x600C265")] [Address(RVA = "0x29342C0", Offset = "0x29332C0", VA = "0x1829342C0")] 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: 0x17001E22 RID: 7714 [Token(Token = "0x17001E22")] public RecipientInformation this[RecipientID selector] { [Token(Token = "0x600C266")] [Address(RVA = "0x2934080", Offset = "0x2933080", VA = "0x182934080")] get { IDictionary dictionary; do { dictionary = this.table; } while (dictionary == 0); throw new NullReferenceException(); } } // Token: 0x0600C267 RID: 49767 RVA: 0x002BF5C4 File Offset: 0x002BD7C4 [Token(Token = "0x600C267")] [Address(RVA = "0x2934080", Offset = "0x2933080", VA = "0x182934080")] public RecipientInformation GetFirstRecipient(RecipientID selector) { IDictionary dictionary; do { dictionary = this.table; } while (dictionary == 0); throw new NullReferenceException(); } // Token: 0x17001E23 RID: 7715 // (get) Token: 0x0600C268 RID: 49768 RVA: 0x002BF5E8 File Offset: 0x002BD7E8 [Token(Token = "0x17001E23")] public int Count { [Token(Token = "0x600C268")] [Address(RVA = "0x2934580", Offset = "0x2933580", VA = "0x182934580")] get { IList list = this.all; throw new NullReferenceException(); } } // Token: 0x0600C269 RID: 49769 RVA: 0x002BF604 File Offset: 0x002BD804 [Token(Token = "0x600C269")] [Address(RVA = "0x2934260", Offset = "0x2933260", VA = "0x182934260")] public ICollection GetRecipients() { /* An exception occurred when decompiling this method (0600C269) 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: 0x0600C26A RID: 49770 RVA: 0x002BF61C File Offset: 0x002BD81C [Token(Token = "0x600C26A")] [Address(RVA = "0x2934170", Offset = "0x2933170", VA = "0x182934170")] public ICollection GetRecipients(RecipientID selector) { IDictionary dictionary = this.table; IList list = Platform.CreateArrayList(); throw new NullReferenceException(); } // Token: 0x04007AEF RID: 31471 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007AEF")] private readonly IList all; // Token: 0x04007AF0 RID: 31472 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4007AF0")] private readonly IDictionary table; } }