using System; using System.IO; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1 { // Token: 0x02001D9E RID: 7582 [Token(Token = "0x2001D9E")] public class DerSetGenerator : DerGenerator { // Token: 0x0600BFD2 RID: 49106 RVA: 0x002BAB20 File Offset: 0x002B8D20 [Token(Token = "0x600BFD2")] [Address(RVA = "0x1882240", Offset = "0x1881040", VA = "0x181882240")] public DerSetGenerator(Stream outStream) { MemoryStream memoryStream = new MemoryStream(); this._bOut = memoryStream; base..ctor(outStream); } // Token: 0x0600BFD3 RID: 49107 RVA: 0x002BAB44 File Offset: 0x002B8D44 [Token(Token = "0x600BFD3")] [Address(RVA = "0x18821A0", Offset = "0x1880FA0", VA = "0x1818821A0")] public DerSetGenerator(Stream outStream, int tagNo, bool isExplicit) { MemoryStream memoryStream = new MemoryStream(); this._bOut = memoryStream; base..ctor(outStream); this._isExplicit = isExplicit; this._tagNo = tagNo; this._tagged = true; } // Token: 0x0600BFD4 RID: 49108 RVA: 0x002BAB7C File Offset: 0x002B8D7C [Token(Token = "0x600BFD4")] [Address(RVA = "0x18820D0", Offset = "0x1880ED0", VA = "0x1818820D0", Slot = "4")] public override void AddObject(Asn1Encodable obj) { ((IDisposable)new DerOutputStream(this._bOut)).Dispose(); } // Token: 0x0600BFD5 RID: 49109 RVA: 0x002BABA0 File Offset: 0x002B8DA0 [Token(Token = "0x600BFD5")] [Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "5")] public override Stream GetRawOutputStream() { /* An exception occurred when decompiling this method (0600BFD5) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerSetGenerator::GetRawOutputStream() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:MemoryStream(var_0_06, ldfld:MemoryStream(DerSetGenerator::_bOut, ldloc:DerSetGenerator(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: 0x0600BFD6 RID: 49110 RVA: 0x002BABB4 File Offset: 0x002B8DB4 [Token(Token = "0x600BFD6")] [Address(RVA = "0x1882160", Offset = "0x1880F60", VA = "0x181882160", Slot = "6")] public override void Close() { MemoryStream bOut = this._bOut; } // Token: 0x040079A7 RID: 31143 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40079A7")] private readonly MemoryStream _bOut; } }