scripts
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1
|
||||
{
|
||||
// Token: 0x020017BF RID: 6079
|
||||
[Token(Token = "0x20017BF")]
|
||||
[StructLayout(3)]
|
||||
public class DerSequenceGenerator : DerGenerator
|
||||
{
|
||||
// Token: 0x0600A3F0 RID: 41968 RVA: 0x00262540 File Offset: 0x00260740
|
||||
[Token(Token = "0x600A3F0")]
|
||||
[Address(RVA = "0x1ED8CD0", Offset = "0x1ED76D0", VA = "0x181ED8CD0")]
|
||||
public DerSequenceGenerator(Stream outStream)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
this._bOut = memoryStream;
|
||||
base..ctor(outStream);
|
||||
}
|
||||
|
||||
// Token: 0x0600A3F1 RID: 41969 RVA: 0x00262564 File Offset: 0x00260764
|
||||
[Token(Token = "0x600A3F1")]
|
||||
[Address(RVA = "0x1ED8C30", Offset = "0x1ED7630", VA = "0x181ED8C30")]
|
||||
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: 0x0600A3F2 RID: 41970 RVA: 0x0026259C File Offset: 0x0026079C
|
||||
[Token(Token = "0x600A3F2")]
|
||||
[Address(RVA = "0x1ED8AA0", Offset = "0x1ED74A0", VA = "0x181ED8AA0", Slot = "4")]
|
||||
public override void AddObject(Asn1Encodable obj)
|
||||
{
|
||||
((IDisposable)new DerOutputStream(this._bOut)).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x0600A3F3 RID: 41971 RVA: 0x002625C0 File Offset: 0x002607C0
|
||||
[Token(Token = "0x600A3F3")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "5")]
|
||||
public override Stream GetRawOutputStream()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A3F3)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A3F4 RID: 41972 RVA: 0x002625D4 File Offset: 0x002607D4
|
||||
[Token(Token = "0x600A3F4")]
|
||||
[Address(RVA = "0x1ED8B30", Offset = "0x1ED7530", VA = "0x181ED8B30", Slot = "6")]
|
||||
public override void Close()
|
||||
{
|
||||
MemoryStream bOut = this._bOut;
|
||||
Stream @out = this._out;
|
||||
}
|
||||
|
||||
// Token: 0x04006B62 RID: 27490
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006B62")]
|
||||
private readonly MemoryStream _bOut;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user