a
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1
|
||||
{
|
||||
// Token: 0x02001D9C RID: 7580
|
||||
[Token(Token = "0x2001D9C")]
|
||||
public class DerSequenceGenerator : DerGenerator
|
||||
{
|
||||
// Token: 0x0600BFCA RID: 49098 RVA: 0x002BAA14 File Offset: 0x002B8C14
|
||||
[Token(Token = "0x600BFCA")]
|
||||
[Address(RVA = "0x1881940", Offset = "0x1880740", VA = "0x181881940")]
|
||||
public DerSequenceGenerator(Stream outStream)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
this._bOut = memoryStream;
|
||||
base..ctor(outStream);
|
||||
}
|
||||
|
||||
// Token: 0x0600BFCB RID: 49099 RVA: 0x002BAA38 File Offset: 0x002B8C38
|
||||
[Token(Token = "0x600BFCB")]
|
||||
[Address(RVA = "0x18818A0", Offset = "0x18806A0", VA = "0x1818818A0")]
|
||||
public DerSequenceGenerator(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: 0x0600BFCC RID: 49100 RVA: 0x002BAA70 File Offset: 0x002B8C70
|
||||
[Token(Token = "0x600BFCC")]
|
||||
[Address(RVA = "0x18817D0", Offset = "0x18805D0", VA = "0x1818817D0", Slot = "4")]
|
||||
public override void AddObject(Asn1Encodable obj)
|
||||
{
|
||||
((IDisposable)new DerOutputStream(this._bOut)).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x0600BFCD RID: 49101 RVA: 0x002BAA94 File Offset: 0x002B8C94
|
||||
[Token(Token = "0x600BFCD")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "5")]
|
||||
public override Stream GetRawOutputStream()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BFCD)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerSequenceGenerator::GetRawOutputStream()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:MemoryStream(var_0_06, ldfld:MemoryStream(DerSequenceGenerator::_bOut, ldloc:DerSequenceGenerator(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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600BFCE RID: 49102 RVA: 0x002BAAA8 File Offset: 0x002B8CA8
|
||||
[Token(Token = "0x600BFCE")]
|
||||
[Address(RVA = "0x1881860", Offset = "0x1880660", VA = "0x181881860", Slot = "6")]
|
||||
public override void Close()
|
||||
{
|
||||
MemoryStream bOut = this._bOut;
|
||||
}
|
||||
|
||||
// Token: 0x040079A5 RID: 31141
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40079A5")]
|
||||
private readonly MemoryStream _bOut;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user