scripts
This commit is contained in:
+260
@@ -0,0 +1,260 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135C RID: 4956
|
||||
[Token(Token = "0x200135C")]
|
||||
[StructLayout(3)]
|
||||
public abstract class BaseInputStream : Stream
|
||||
{
|
||||
// Token: 0x17001463 RID: 5219
|
||||
// (get) Token: 0x06007D63 RID: 32099 RVA: 0x001A58FC File Offset: 0x001A3AFC
|
||||
[Token(Token = "0x17001463")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D63")]
|
||||
[Address(RVA = "0x11E5400", Offset = "0x11E3E00", VA = "0x1811E5400", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001464 RID: 5220
|
||||
// (get) Token: 0x06007D64 RID: 32100 RVA: 0x001A5914 File Offset: 0x001A3B14
|
||||
[Token(Token = "0x17001464")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D64")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001465 RID: 5221
|
||||
// (get) Token: 0x06007D65 RID: 32101 RVA: 0x001A5924 File Offset: 0x001A3B24
|
||||
[Token(Token = "0x17001465")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D65")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D66 RID: 32102 RVA: 0x001A5934 File Offset: 0x001A3B34
|
||||
[Token(Token = "0x6007D66")]
|
||||
[Address(RVA = "0x2024E20", Offset = "0x2023820", VA = "0x182024E20", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D67 RID: 32103 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D67")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001466 RID: 5222
|
||||
// (get) Token: 0x06007D68 RID: 32104 RVA: 0x001A5950 File Offset: 0x001A3B50
|
||||
[Token(Token = "0x17001466")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D68")]
|
||||
[Address(RVA = "0x2025070", Offset = "0x2023A70", VA = "0x182025070", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D68)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x17001467 RID: 5223
|
||||
// (get) Token: 0x06007D69 RID: 32105 RVA: 0x001A5964 File Offset: 0x001A3B64
|
||||
// (set) Token: 0x06007D6A RID: 32106 RVA: 0x001A5978 File Offset: 0x001A3B78
|
||||
[Token(Token = "0x17001467")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D69")]
|
||||
[Address(RVA = "0x20250C0", Offset = "0x2023AC0", VA = "0x1820250C0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D69)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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(Token = "0x6007D6A")]
|
||||
[Address(RVA = "0x2025110", Offset = "0x2023B10", VA = "0x182025110", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D6B RID: 32107 RVA: 0x001A598C File Offset: 0x001A3B8C
|
||||
[Token(Token = "0x6007D6B")]
|
||||
[Address(RVA = "0x2024E30", Offset = "0x2023830", VA = "0x182024E30", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num;
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
if (offset != 0)
|
||||
{
|
||||
return offset;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D6C RID: 32108 RVA: 0x001A59B0 File Offset: 0x001A3BB0
|
||||
[Token(Token = "0x6007D6C")]
|
||||
[Address(RVA = "0x2024F20", Offset = "0x2023920", VA = "0x182024F20", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D6D RID: 32109 RVA: 0x001A59C4 File Offset: 0x001A3BC4
|
||||
[Token(Token = "0x6007D6D")]
|
||||
[Address(RVA = "0x2024F70", Offset = "0x2023970", VA = "0x182024F70", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D6E RID: 32110 RVA: 0x001A59D8 File Offset: 0x001A3BD8
|
||||
[Token(Token = "0x6007D6E")]
|
||||
[Address(RVA = "0x2024FC0", Offset = "0x20239C0", VA = "0x182024FC0", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D6E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::Write(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D6F RID: 32111 RVA: 0x001A59EC File Offset: 0x001A3BEC
|
||||
[Token(Token = "0x6007D6F")]
|
||||
[Address(RVA = "0x2025010", Offset = "0x2023A10", VA = "0x182025010")]
|
||||
protected BaseInputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04005A28 RID: 23080
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A28")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+268
@@ -0,0 +1,268 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135D RID: 4957
|
||||
[Token(Token = "0x200135D")]
|
||||
[StructLayout(3)]
|
||||
public abstract class BaseOutputStream : Stream
|
||||
{
|
||||
// Token: 0x17001468 RID: 5224
|
||||
// (get) Token: 0x06007D70 RID: 32112 RVA: 0x001A5A00 File Offset: 0x001A3C00
|
||||
[Token(Token = "0x17001468")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D70")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001469 RID: 5225
|
||||
// (get) Token: 0x06007D71 RID: 32113 RVA: 0x001A5A10 File Offset: 0x001A3C10
|
||||
[Token(Token = "0x17001469")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D71")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146A RID: 5226
|
||||
// (get) Token: 0x06007D72 RID: 32114 RVA: 0x001A5A20 File Offset: 0x001A3C20
|
||||
[Token(Token = "0x1700146A")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D72")]
|
||||
[Address(RVA = "0x11E5400", Offset = "0x11E3E00", VA = "0x1811E5400", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D73 RID: 32115 RVA: 0x001A5A38 File Offset: 0x001A3C38
|
||||
[Token(Token = "0x6007D73")]
|
||||
[Address(RVA = "0x2024E20", Offset = "0x2023820", VA = "0x182024E20", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D74 RID: 32116 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D74")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x1700146B RID: 5227
|
||||
// (get) Token: 0x06007D75 RID: 32117 RVA: 0x001A5A54 File Offset: 0x001A3C54
|
||||
[Token(Token = "0x1700146B")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D75")]
|
||||
[Address(RVA = "0x20253D0", Offset = "0x2023DD0", VA = "0x1820253D0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D75)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x1700146C RID: 5228
|
||||
// (get) Token: 0x06007D76 RID: 32118 RVA: 0x001A5A68 File Offset: 0x001A3C68
|
||||
// (set) Token: 0x06007D77 RID: 32119 RVA: 0x001A5A7C File Offset: 0x001A3C7C
|
||||
[Token(Token = "0x1700146C")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D76")]
|
||||
[Address(RVA = "0x2025420", Offset = "0x2023E20", VA = "0x182025420", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D76)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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(Token = "0x6007D77")]
|
||||
[Address(RVA = "0x2025470", Offset = "0x2023E70", VA = "0x182025470", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D77)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D78 RID: 32120 RVA: 0x001A5A90 File Offset: 0x001A3C90
|
||||
[Token(Token = "0x6007D78")]
|
||||
[Address(RVA = "0x2025160", Offset = "0x2023B60", VA = "0x182025160", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D78)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::Read(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D79 RID: 32121 RVA: 0x001A5AA4 File Offset: 0x001A3CA4
|
||||
[Token(Token = "0x6007D79")]
|
||||
[Address(RVA = "0x20251B0", Offset = "0x2023BB0", VA = "0x1820251B0", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D79)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D7A RID: 32122 RVA: 0x001A5AB8 File Offset: 0x001A3CB8
|
||||
[Token(Token = "0x6007D7A")]
|
||||
[Address(RVA = "0x2025200", Offset = "0x2023C00", VA = "0x182025200", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D7A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
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: 0x06007D7B RID: 32123 RVA: 0x001A5ACC File Offset: 0x001A3CCC
|
||||
[Token(Token = "0x6007D7B")]
|
||||
[Address(RVA = "0x20252F0", Offset = "0x2023CF0", VA = "0x1820252F0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D7C RID: 32124 RVA: 0x001A5AE0 File Offset: 0x001A3CE0
|
||||
[Token(Token = "0x6007D7C")]
|
||||
[Address(RVA = "0x1DFBEC0", Offset = "0x1DFA8C0", VA = "0x181DFBEC0", Slot = "31")]
|
||||
public virtual void Write(params byte[] buffer)
|
||||
{
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007D7D RID: 32125 RVA: 0x001A5AFC File Offset: 0x001A3CFC
|
||||
[Token(Token = "0x6007D7D")]
|
||||
[Address(RVA = "0x2025250", Offset = "0x2023C50", VA = "0x182025250", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
(new byte[1])[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007D7E RID: 32126 RVA: 0x001A5B24 File Offset: 0x001A3D24
|
||||
[Token(Token = "0x6007D7E")]
|
||||
[Address(RVA = "0x2025370", Offset = "0x2023D70", VA = "0x182025370")]
|
||||
protected BaseOutputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04005A29 RID: 23081
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A29")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135E RID: 4958
|
||||
[Token(Token = "0x200135E")]
|
||||
[StructLayout(3)]
|
||||
public class FilterStream : Stream
|
||||
{
|
||||
// Token: 0x06007D7F RID: 32127 RVA: 0x001A5B38 File Offset: 0x001A3D38
|
||||
[Token(Token = "0x6007D7F")]
|
||||
[Address(RVA = "0x202AED0", Offset = "0x20298D0", VA = "0x18202AED0")]
|
||||
public FilterStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x1700146D RID: 5229
|
||||
// (get) Token: 0x06007D80 RID: 32128 RVA: 0x001A5B54 File Offset: 0x001A3D54
|
||||
[Token(Token = "0x1700146D")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6007D80")]
|
||||
[Address(RVA = "0x917880", Offset = "0x916280", VA = "0x180917880", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146E RID: 5230
|
||||
// (get) Token: 0x06007D81 RID: 32129 RVA: 0x001A5B74 File Offset: 0x001A3D74
|
||||
[Token(Token = "0x1700146E")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6007D81")]
|
||||
[Address(RVA = "0x9178B0", Offset = "0x9162B0", VA = "0x1809178B0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700146F RID: 5231
|
||||
// (get) Token: 0x06007D82 RID: 32130 RVA: 0x001A5B94 File Offset: 0x001A3D94
|
||||
[Token(Token = "0x1700146F")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6007D82")]
|
||||
[Address(RVA = "0x9178E0", Offset = "0x9162E0", VA = "0x1809178E0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001470 RID: 5232
|
||||
// (get) Token: 0x06007D83 RID: 32131 RVA: 0x001A5BB4 File Offset: 0x001A3DB4
|
||||
[Token(Token = "0x17001470")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6007D83")]
|
||||
[Address(RVA = "0x7760E0", Offset = "0x774AE0", VA = "0x1807760E0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001471 RID: 5233
|
||||
// (get) Token: 0x06007D84 RID: 32132 RVA: 0x001A5BD4 File Offset: 0x001A3DD4
|
||||
// (set) Token: 0x06007D85 RID: 32133 RVA: 0x001A5BF4 File Offset: 0x001A3DF4
|
||||
[Token(Token = "0x17001471")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6007D84")]
|
||||
[Address(RVA = "0x776110", Offset = "0x774B10", VA = "0x180776110", Slot = "11")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x6007D85")]
|
||||
[Address(RVA = "0x1F4FD30", Offset = "0x1F4E730", VA = "0x181F4FD30", Slot = "12")]
|
||||
set
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007D86 RID: 32134 RVA: 0x001A5C14 File Offset: 0x001A3E14
|
||||
[Token(Token = "0x6007D86")]
|
||||
[Address(RVA = "0x202AD90", Offset = "0x2029790", VA = "0x18202AD90", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.s.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007D87 RID: 32135 RVA: 0x001A5C3C File Offset: 0x001A3E3C
|
||||
[Token(Token = "0x6007D87")]
|
||||
[Address(RVA = "0x69C680", Offset = "0x69B080", VA = "0x18069C680", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D88 RID: 32136 RVA: 0x001A5C5C File Offset: 0x001A3E5C
|
||||
[Token(Token = "0x6007D88")]
|
||||
[Address(RVA = "0xC7F460", Offset = "0xC7DE60", VA = "0x180C7F460", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D89 RID: 32137 RVA: 0x001A5C7C File Offset: 0x001A3E7C
|
||||
[Token(Token = "0x6007D89")]
|
||||
[Address(RVA = "0x775940", Offset = "0x774340", VA = "0x180775940", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D8A RID: 32138 RVA: 0x001A5C9C File Offset: 0x001A3E9C
|
||||
[Token(Token = "0x6007D8A")]
|
||||
[Address(RVA = "0x202AE40", Offset = "0x2029840", VA = "0x18202AE40", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D8B RID: 32139 RVA: 0x001A5CBC File Offset: 0x001A3EBC
|
||||
[Token(Token = "0x6007D8B")]
|
||||
[Address(RVA = "0x202AE10", Offset = "0x2029810", VA = "0x18202AE10", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D8C RID: 32140 RVA: 0x001A5CDC File Offset: 0x001A3EDC
|
||||
[Token(Token = "0x6007D8C")]
|
||||
[Address(RVA = "0x202AEA0", Offset = "0x20298A0", VA = "0x18202AEA0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007D8D RID: 32141 RVA: 0x001A5CFC File Offset: 0x001A3EFC
|
||||
[Token(Token = "0x6007D8D")]
|
||||
[Address(RVA = "0x202AE70", Offset = "0x2029870", VA = "0x18202AE70", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2A RID: 23082
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4005A2A")]
|
||||
protected readonly Stream s;
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200135F RID: 4959
|
||||
[Token(Token = "0x200135F")]
|
||||
[StructLayout(3)]
|
||||
internal class NullOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06007D8E RID: 32142 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D8E")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D8F RID: 32143 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6007D8F")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06007D90 RID: 32144 RVA: 0x001A5D1C File Offset: 0x001A3F1C
|
||||
[Token(Token = "0x6007D90")]
|
||||
[Address(RVA = "0x2025370", Offset = "0x2023D70", VA = "0x182025370")]
|
||||
public NullOutputStream()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001365 RID: 4965
|
||||
[Token(Token = "0x2001365")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public class PemGenerationException : Exception
|
||||
{
|
||||
// Token: 0x06007DAB RID: 32171 RVA: 0x001A6138 File Offset: 0x001A4338
|
||||
[Token(Token = "0x6007DAB")]
|
||||
[Address(RVA = "0x2031A80", Offset = "0x2030480", VA = "0x182031A80")]
|
||||
public PemGenerationException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DAC RID: 32172 RVA: 0x001A614C File Offset: 0x001A434C
|
||||
[Token(Token = "0x6007DAC")]
|
||||
[Address(RVA = "0x2031990", Offset = "0x2030390", VA = "0x182031990")]
|
||||
public PemGenerationException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007DAD RID: 32173 RVA: 0x001A6160 File Offset: 0x001A4360
|
||||
[Token(Token = "0x6007DAD")]
|
||||
[Address(RVA = "0x2031A00", Offset = "0x2030400", VA = "0x182031A00")]
|
||||
public PemGenerationException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+122
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001366 RID: 4966
|
||||
[Token(Token = "0x2001366")]
|
||||
[StructLayout(3)]
|
||||
public class PemHeader
|
||||
{
|
||||
// Token: 0x06007DAE RID: 32174 RVA: 0x001A6178 File Offset: 0x001A4378
|
||||
[Token(Token = "0x6007DAE")]
|
||||
[Address(RVA = "0x3C39C0", Offset = "0x3C23C0", VA = "0x1803C39C0")]
|
||||
public PemHeader(string name, string val)
|
||||
{
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
// Token: 0x17001472 RID: 5234
|
||||
// (get) Token: 0x06007DAF RID: 32175 RVA: 0x001A619C File Offset: 0x001A439C
|
||||
[Token(Token = "0x17001472")]
|
||||
public virtual string Name
|
||||
{
|
||||
[Token(Token = "0x6007DAF")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001473 RID: 5235
|
||||
// (get) Token: 0x06007DB0 RID: 32176 RVA: 0x001A61B0 File Offset: 0x001A43B0
|
||||
[Token(Token = "0x17001473")]
|
||||
public virtual string Value
|
||||
{
|
||||
[Token(Token = "0x6007DB0")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.val;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DB1 RID: 32177 RVA: 0x001A61C4 File Offset: 0x001A43C4
|
||||
[Token(Token = "0x6007DB1")]
|
||||
[Address(RVA = "0x2031BF0", Offset = "0x20305F0", VA = "0x182031BF0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DB1)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemHeader::GetHashCode()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:int64(var_3, add:int64(ldloc:int64(var_3), ldloc:uint32[exp:int64](var_0)))
|
||||
}
|
||||
|
||||
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: 0x06007DB2 RID: 32178 RVA: 0x001A61F8 File Offset: 0x001A43F8
|
||||
[Token(Token = "0x6007DB2")]
|
||||
[Address(RVA = "0x2031AE0", Offset = "0x20304E0", VA = "0x182031AE0", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
while (obj != this)
|
||||
{
|
||||
if (obj != 0 && obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
string text = this.name;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
string text2 = this.val;
|
||||
bool flag2;
|
||||
return flag2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06007DB3 RID: 32179 RVA: 0x001A6234 File Offset: 0x001A4434
|
||||
[Token(Token = "0x6007DB3")]
|
||||
[Address(RVA = "0x2031C60", Offset = "0x2030660", VA = "0x182031C60")]
|
||||
private int GetHashCode(string s)
|
||||
{
|
||||
if (s != 0)
|
||||
{
|
||||
object obj = ((ICloneable)s).Clone();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x04005A31 RID: 23089
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A31")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04005A32 RID: 23090
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A32")]
|
||||
private string val;
|
||||
}
|
||||
}
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001367 RID: 4967
|
||||
[Token(Token = "0x2001367")]
|
||||
[StructLayout(3)]
|
||||
public class PemObject : PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06007DB4 RID: 32180 RVA: 0x001A6250 File Offset: 0x001A4450
|
||||
[Token(Token = "0x6007DB4")]
|
||||
[Address(RVA = "0x2031D50", Offset = "0x2030750", VA = "0x182031D50")]
|
||||
public PemObject(string type, byte[] content)
|
||||
{
|
||||
ArrayList arrayList = new ArrayList();
|
||||
}
|
||||
|
||||
// Token: 0x06007DB5 RID: 32181 RVA: 0x001A6264 File Offset: 0x001A4464
|
||||
[Token(Token = "0x6007DB5")]
|
||||
[Address(RVA = "0x2031C90", Offset = "0x2030690", VA = "0x182031C90")]
|
||||
public PemObject(string type, IList headers, byte[] content)
|
||||
{
|
||||
this.type = type;
|
||||
ArrayList arrayList = new ArrayList(headers);
|
||||
this.headers = arrayList;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// Token: 0x17001474 RID: 5236
|
||||
// (get) Token: 0x06007DB6 RID: 32182 RVA: 0x001A6294 File Offset: 0x001A4494
|
||||
[Token(Token = "0x17001474")]
|
||||
public string Type
|
||||
{
|
||||
[Token(Token = "0x6007DB6")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001475 RID: 5237
|
||||
// (get) Token: 0x06007DB7 RID: 32183 RVA: 0x001A62A8 File Offset: 0x001A44A8
|
||||
[Token(Token = "0x17001475")]
|
||||
public IList Headers
|
||||
{
|
||||
[Token(Token = "0x6007DB7")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.headers;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001476 RID: 5238
|
||||
// (get) Token: 0x06007DB8 RID: 32184 RVA: 0x001A62BC File Offset: 0x001A44BC
|
||||
[Token(Token = "0x17001476")]
|
||||
public byte[] Content
|
||||
{
|
||||
[Token(Token = "0x6007DB8")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.content;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DB9 RID: 32185 RVA: 0x001A62D0 File Offset: 0x001A44D0
|
||||
[Token(Token = "0x6007DB9")]
|
||||
[Address(RVA = "0x518E70", Offset = "0x517870", VA = "0x180518E70", Slot = "4")]
|
||||
public PemObject Generate()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x04005A33 RID: 23091
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A33")]
|
||||
private string type;
|
||||
|
||||
// Token: 0x04005A34 RID: 23092
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A34")]
|
||||
private IList headers;
|
||||
|
||||
// Token: 0x04005A35 RID: 23093
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A35")]
|
||||
private byte[] content;
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001368 RID: 4968
|
||||
[Token(Token = "0x2001368")]
|
||||
[StructLayout(3)]
|
||||
public interface PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06007DBA RID: 32186
|
||||
[Token(Token = "0x6007DBA")]
|
||||
[Address(Slot = "0")]
|
||||
PemObject Generate();
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001369 RID: 4969
|
||||
[Token(Token = "0x2001369")]
|
||||
[StructLayout(3)]
|
||||
public interface PemObjectParser
|
||||
{
|
||||
// Token: 0x06007DBB RID: 32187
|
||||
[Token(Token = "0x6007DBB")]
|
||||
[Address(Slot = "0")]
|
||||
object ParseObject(PemObject obj);
|
||||
}
|
||||
}
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x0200136A RID: 4970
|
||||
[Token(Token = "0x200136A")]
|
||||
[StructLayout(3)]
|
||||
public class PemReader
|
||||
{
|
||||
// Token: 0x06007DBC RID: 32188 RVA: 0x001A62E0 File Offset: 0x001A44E0
|
||||
[Token(Token = "0x6007DBC")]
|
||||
[Address(RVA = "0x20322F0", Offset = "0x2030CF0", VA = "0x1820322F0")]
|
||||
public PemReader(TextReader reader)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DBC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemReader::.ctor(System.IO.TextReader)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_12:
|
||||
stloc:ArgumentNullException(var_0_1C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("reader")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x17001477 RID: 5239
|
||||
// (get) Token: 0x06007DBD RID: 32189 RVA: 0x001A630C File Offset: 0x001A450C
|
||||
[Token(Token = "0x17001477")]
|
||||
public TextReader Reader
|
||||
{
|
||||
[Token(Token = "0x6007DBD")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.reader;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DBE RID: 32190 RVA: 0x001A6320 File Offset: 0x001A4520
|
||||
[Token(Token = "0x6007DBE")]
|
||||
[Address(RVA = "0x20321E0", Offset = "0x2030BE0", VA = "0x1820321E0")]
|
||||
public PemObject ReadPemObject()
|
||||
{
|
||||
string text = this.reader.ReadToEnd();
|
||||
if (text != 0 && Platform.StartsWith(text, "-----BEGIN "))
|
||||
{
|
||||
int num = 0;
|
||||
string text3;
|
||||
int num2;
|
||||
string text2 = text3.Substring(num, num2);
|
||||
if (num2 > 0)
|
||||
{
|
||||
return this.LoadObject(text2);
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DBF RID: 32191 RVA: 0x001A636C File Offset: 0x001A456C
|
||||
[Token(Token = "0x6007DBF")]
|
||||
[Address(RVA = "0x2031E10", Offset = "0x2030810", VA = "0x182031E10")]
|
||||
private PemObject LoadObject(string type)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DBF)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemObject BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemReader::LoadObject(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_EE:
|
||||
stloc:IOException(var_19_F8, newobj:IOException(IOException::.ctor, ldstr:string("base64 data appears to be truncated")))
|
||||
}
|
||||
|
||||
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: 0x04005A36 RID: 23094
|
||||
[Token(Token = "0x4005A36")]
|
||||
private const string BeginString = "-----BEGIN ";
|
||||
|
||||
// Token: 0x04005A37 RID: 23095
|
||||
[Token(Token = "0x4005A37")]
|
||||
private const string EndString = "-----END ";
|
||||
|
||||
// Token: 0x04005A38 RID: 23096
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A38")]
|
||||
private readonly TextReader reader;
|
||||
}
|
||||
}
|
||||
+233
@@ -0,0 +1,233 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x0200136B RID: 4971
|
||||
[Token(Token = "0x200136B")]
|
||||
[StructLayout(3)]
|
||||
public class PemWriter
|
||||
{
|
||||
// Token: 0x06007DC0 RID: 32192 RVA: 0x001A6474 File Offset: 0x001A4674
|
||||
[Token(Token = "0x6007DC0")]
|
||||
[Address(RVA = "0x2032E60", Offset = "0x2031860", VA = "0x182032E60")]
|
||||
public PemWriter(TextWriter writer)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007DC0)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemWriter::.ctor(System.IO.TextWriter)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_33:
|
||||
stloc:ArgumentNullException(var_2_3D, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("writer")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x17001478 RID: 5240
|
||||
// (get) Token: 0x06007DC1 RID: 32193 RVA: 0x001A64C0 File Offset: 0x001A46C0
|
||||
[Token(Token = "0x17001478")]
|
||||
public TextWriter Writer
|
||||
{
|
||||
[Token(Token = "0x6007DC1")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.writer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DC2 RID: 32194 RVA: 0x001A64D4 File Offset: 0x001A46D4
|
||||
[Token(Token = "0x6007DC2")]
|
||||
[Address(RVA = "0x2032370", Offset = "0x2030D70", VA = "0x182032370")]
|
||||
public int GetOutputSize(PemObject obj)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
string type = obj.type;
|
||||
IList headers = obj.headers;
|
||||
if (type <= 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
IList headers2 = obj.headers;
|
||||
int num3;
|
||||
if (type != 0)
|
||||
{
|
||||
if (num < type)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
ulong num2;
|
||||
num2 += (ulong)1L;
|
||||
if (type == 0)
|
||||
{
|
||||
goto IL_8C;
|
||||
}
|
||||
int stringLength = type.ToString().m_stringLength;
|
||||
num3 += this;
|
||||
num3 += stringLength;
|
||||
}
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
int num4 = obj.content.Length;
|
||||
num4 += 2;
|
||||
throw new NullReferenceException();
|
||||
IL_8C:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DC3 RID: 32195 RVA: 0x001A6578 File Offset: 0x001A4778
|
||||
[Token(Token = "0x6007DC3")]
|
||||
[Address(RVA = "0x20327C0", Offset = "0x20311C0", VA = "0x1820327C0")]
|
||||
public void WriteObject(PemObjectGenerator objGen)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
string text;
|
||||
if (text <= 0)
|
||||
{
|
||||
goto IL_4A;
|
||||
}
|
||||
if (text != 0)
|
||||
{
|
||||
if (num < text)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
goto IL_C3;
|
||||
}
|
||||
string text2 = text.ToString();
|
||||
}
|
||||
num2 = 0;
|
||||
int num3;
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
TextWriter textWriter = this.writer;
|
||||
IL_4A:
|
||||
byte[] array;
|
||||
if (num2 < array.Length)
|
||||
{
|
||||
char[] array2 = this.buf;
|
||||
int length = array2.Length;
|
||||
if (num2 != length && 0 < array.Length)
|
||||
{
|
||||
byte b;
|
||||
array2[0] = (char)b;
|
||||
num2++;
|
||||
}
|
||||
char[] array3 = this.buf;
|
||||
}
|
||||
string text3 = "-----END " + num2 + "-----";
|
||||
return;
|
||||
IL_C3:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DC4 RID: 32196 RVA: 0x001A6650 File Offset: 0x001A4850
|
||||
[Token(Token = "0x6007DC4")]
|
||||
[Address(RVA = "0x20326D0", Offset = "0x20310D0", VA = "0x1820326D0")]
|
||||
private void WriteEncoded(byte[] bytes)
|
||||
{
|
||||
byte[] array = Base64.Encode(bytes);
|
||||
int num = 0;
|
||||
if (num < array.Length)
|
||||
{
|
||||
int num2 = 0;
|
||||
char[] array2 = this.buf;
|
||||
int length = array2.Length;
|
||||
if (num2 != length && 0 < array.Length)
|
||||
{
|
||||
num2++;
|
||||
byte b;
|
||||
array2[0] = (char)b;
|
||||
}
|
||||
this.writer.WriteLine(array2);
|
||||
char[] array3 = this.buf;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007DC5 RID: 32197 RVA: 0x001A66C0 File Offset: 0x001A48C0
|
||||
[Token(Token = "0x6007DC5")]
|
||||
[Address(RVA = "0x2032DE0", Offset = "0x20317E0", VA = "0x182032DE0")]
|
||||
private void WritePreEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----BEGIN " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x06007DC6 RID: 32198 RVA: 0x001A66F4 File Offset: 0x001A48F4
|
||||
[Token(Token = "0x6007DC6")]
|
||||
[Address(RVA = "0x2032D60", Offset = "0x2031760", VA = "0x182032D60")]
|
||||
private void WritePostEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----END " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x04005A39 RID: 23097
|
||||
[Token(Token = "0x4005A39")]
|
||||
private const int LineLength = 64;
|
||||
|
||||
// Token: 0x04005A3A RID: 23098
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A3A")]
|
||||
private readonly TextWriter writer;
|
||||
|
||||
// Token: 0x04005A3B RID: 23099
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4005A3B")]
|
||||
private readonly int nlLength;
|
||||
|
||||
// Token: 0x04005A3C RID: 23100
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4005A3C")]
|
||||
private char[] buf;
|
||||
}
|
||||
}
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001360 RID: 4960
|
||||
[Token(Token = "0x2001360")]
|
||||
[StructLayout(3)]
|
||||
public class PushbackStream : FilterStream
|
||||
{
|
||||
// Token: 0x06007D91 RID: 32145 RVA: 0x001A5D30 File Offset: 0x001A3F30
|
||||
[Token(Token = "0x6007D91")]
|
||||
[Address(RVA = "0x2033AF0", Offset = "0x20324F0", VA = "0x182033AF0")]
|
||||
public PushbackStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x06007D92 RID: 32146 RVA: 0x001A5D5C File Offset: 0x001A3F5C
|
||||
[Token(Token = "0x6007D92")]
|
||||
[Address(RVA = "0x20339C0", Offset = "0x20323C0", VA = "0x1820339C0", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
int num = this.buf;
|
||||
if (num == -1)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
this.buf = (int)((ulong)4294967295L);
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D93 RID: 32147 RVA: 0x001A5D98 File Offset: 0x001A3F98
|
||||
[Token(Token = "0x6007D93")]
|
||||
[Address(RVA = "0x2033A00", Offset = "0x2032400", VA = "0x182033A00", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
if (this.buf != -1 && count > 0)
|
||||
{
|
||||
this.buf = (int)((ulong)4294967295L);
|
||||
return 1;
|
||||
}
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D94 RID: 32148 RVA: 0x001A5DD8 File Offset: 0x001A3FD8
|
||||
[Token(Token = "0x6007D94")]
|
||||
[Address(RVA = "0x2033A70", Offset = "0x2032470", VA = "0x182033A70", Slot = "31")]
|
||||
public virtual void Unread(int b)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007D94)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.PushbackStream::Unread(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_11:
|
||||
stloc:InvalidOperationException(var_0_1B, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("Can only push back one byte")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x04005A2B RID: 23083
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A2B")]
|
||||
private int buf = (int)((ulong)4294967295L);
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001361 RID: 4961
|
||||
[Token(Token = "0x2001361")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public class StreamOverflowException : IOException
|
||||
{
|
||||
// Token: 0x06007D95 RID: 32149 RVA: 0x001A5E00 File Offset: 0x001A4000
|
||||
[Token(Token = "0x6007D95")]
|
||||
[Address(RVA = "0x1C85220", Offset = "0x1C83C20", VA = "0x181C85220")]
|
||||
public StreamOverflowException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D96 RID: 32150 RVA: 0x001A5E14 File Offset: 0x001A4014
|
||||
[Token(Token = "0x6007D96")]
|
||||
[Address(RVA = "0x47A3A0", Offset = "0x478DA0", VA = "0x18047A3A0")]
|
||||
public StreamOverflowException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D97 RID: 32151 RVA: 0x001A5E28 File Offset: 0x001A4028
|
||||
[Token(Token = "0x6007D97")]
|
||||
[Address(RVA = "0x47A3B0", Offset = "0x478DB0", VA = "0x18047A3B0")]
|
||||
public StreamOverflowException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001362 RID: 4962
|
||||
[Token(Token = "0x2001362")]
|
||||
[StructLayout(3)]
|
||||
public sealed class Streams
|
||||
{
|
||||
// Token: 0x06007D98 RID: 32152 RVA: 0x001A5E40 File Offset: 0x001A4040
|
||||
[Token(Token = "0x6007D98")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Streams()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06007D99 RID: 32153 RVA: 0x001A5E54 File Offset: 0x001A4054
|
||||
[Token(Token = "0x6007D99")]
|
||||
[Address(RVA = "0x2033D60", Offset = "0x2032760", VA = "0x182033D60")]
|
||||
public static void Drain(Stream inStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
}
|
||||
|
||||
// Token: 0x06007D9A RID: 32154 RVA: 0x001A5E74 File Offset: 0x001A4074
|
||||
[Token(Token = "0x6007D9A")]
|
||||
[Address(RVA = "0x2034140", Offset = "0x2032B40", VA = "0x182034140")]
|
||||
public static byte[] ReadAll(Stream inStr)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
byte[] array = new byte[512];
|
||||
int num = memoryStream.ReadByte();
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D9B RID: 32155 RVA: 0x001A5EA4 File Offset: 0x001A40A4
|
||||
[Token(Token = "0x6007D9B")]
|
||||
[Address(RVA = "0x2033FD0", Offset = "0x20329D0", VA = "0x182033FD0")]
|
||||
public static byte[] ReadAllLimited(Stream inStr, int limit)
|
||||
{
|
||||
MemoryStream memoryStream = new MemoryStream();
|
||||
byte[] array = new byte[512];
|
||||
int num = memoryStream.ReadByte();
|
||||
((IDisposable)memoryStream).Dispose();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007D9C RID: 32156 RVA: 0x001A5ED8 File Offset: 0x001A40D8
|
||||
[Token(Token = "0x6007D9C")]
|
||||
[Address(RVA = "0x20342D0", Offset = "0x2032CD0", VA = "0x1820342D0")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf)
|
||||
{
|
||||
int num = buf.Length;
|
||||
int num2 = 0;
|
||||
if (num > 0)
|
||||
{
|
||||
num -= num2;
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06007D9D RID: 32157 RVA: 0x001A5F00 File Offset: 0x001A4100
|
||||
[Token(Token = "0x6007D9D")]
|
||||
[Address(RVA = "0x2034240", Offset = "0x2032C40", VA = "0x182034240")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06007D9E RID: 32158 RVA: 0x001A5F1C File Offset: 0x001A411C
|
||||
[Token(Token = "0x6007D9E")]
|
||||
[Address(RVA = "0x2033F10", Offset = "0x2032910", VA = "0x182033F10")]
|
||||
public static void PipeAll(Stream inStr, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06007D9F RID: 32159 RVA: 0x001A5F44 File Offset: 0x001A4144
|
||||
[Token(Token = "0x6007D9F")]
|
||||
[Address(RVA = "0x2033DF0", Offset = "0x20327F0", VA = "0x182033DF0")]
|
||||
public static long PipeAllLimited(Stream inStr, long limit, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA0 RID: 32160 RVA: 0x001A5F6C File Offset: 0x001A416C
|
||||
[Token(Token = "0x6007DA0")]
|
||||
[Address(RVA = "0x2034350", Offset = "0x2032D50", VA = "0x182034350")]
|
||||
public static void WriteBufTo(MemoryStream buf, Stream output)
|
||||
{
|
||||
((IDisposable)buf).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA1 RID: 32161 RVA: 0x001A5F88 File Offset: 0x001A4188
|
||||
[Token(Token = "0x6007DA1")]
|
||||
[Address(RVA = "0x2034380", Offset = "0x2032D80", VA = "0x182034380")]
|
||||
public static int WriteBufTo(MemoryStream buf, byte[] output, int offset)
|
||||
{
|
||||
bool canWrite = buf.CanWrite;
|
||||
ulong num;
|
||||
MemoryStream memoryStream = new MemoryStream(output, offset, canWrite ? 1 : 0, num != 0UL);
|
||||
byte[] array = buf.ToArray();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA2 RID: 32162 RVA: 0x001A5FB4 File Offset: 0x001A41B4
|
||||
[Token(Token = "0x6007DA2")]
|
||||
[Address(RVA = "0x2034450", Offset = "0x2032E50", VA = "0x182034450")]
|
||||
public static void WriteZeroes(Stream outStr, long count)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
int num2 = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x04005A2C RID: 23084
|
||||
[Token(Token = "0x4005A2C")]
|
||||
private const int BufferSize = 512;
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001363 RID: 4963
|
||||
[Token(Token = "0x2001363")]
|
||||
[StructLayout(3)]
|
||||
public class TeeInputStream : BaseInputStream
|
||||
{
|
||||
// Token: 0x06007DA3 RID: 32163 RVA: 0x001A5FE0 File Offset: 0x001A41E0
|
||||
[Token(Token = "0x6007DA3")]
|
||||
[Address(RVA = "0x2034B70", Offset = "0x2033570", VA = "0x182034B70")]
|
||||
public TeeInputStream(Stream input, Stream tee)
|
||||
{
|
||||
this.input = input;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06007DA4 RID: 32164 RVA: 0x001A6004 File Offset: 0x001A4204
|
||||
[Token(Token = "0x6007DA4")]
|
||||
[Address(RVA = "0x20349E0", Offset = "0x20333E0", VA = "0x1820349E0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.input.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA5 RID: 32165 RVA: 0x001A603C File Offset: 0x001A423C
|
||||
[Token(Token = "0x6007DA5")]
|
||||
[Address(RVA = "0x2034AE0", Offset = "0x20334E0", VA = "0x182034AE0", Slot = "27")]
|
||||
public override int Read(byte[] buf, int off, int len)
|
||||
{
|
||||
Stream stream = this.input;
|
||||
int num = this.tee.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA6 RID: 32166 RVA: 0x001A6064 File Offset: 0x001A4264
|
||||
[Token(Token = "0x6007DA6")]
|
||||
[Address(RVA = "0x2034A80", Offset = "0x2033480", VA = "0x182034A80", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
Stream stream = this.input;
|
||||
Stream stream2 = this.tee;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2D RID: 23085
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A2D")]
|
||||
private readonly Stream input;
|
||||
|
||||
// Token: 0x04005A2E RID: 23086
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005A2E")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001364 RID: 4964
|
||||
[Token(Token = "0x2001364")]
|
||||
[StructLayout(3)]
|
||||
public class TeeOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06007DA7 RID: 32167 RVA: 0x001A6088 File Offset: 0x001A4288
|
||||
[Token(Token = "0x6007DA7")]
|
||||
[Address(RVA = "0x2034D80", Offset = "0x2033780", VA = "0x182034D80")]
|
||||
public TeeOutputStream(Stream output, Stream tee)
|
||||
{
|
||||
this.output = output;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06007DA8 RID: 32168 RVA: 0x001A60AC File Offset: 0x001A42AC
|
||||
[Token(Token = "0x6007DA8")]
|
||||
[Address(RVA = "0x2034BF0", Offset = "0x20335F0", VA = "0x182034BF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.output.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06007DA9 RID: 32169 RVA: 0x001A60E4 File Offset: 0x001A42E4
|
||||
[Token(Token = "0x6007DA9")]
|
||||
[Address(RVA = "0x2034CF0", Offset = "0x20336F0", VA = "0x182034CF0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num = this.output.ReadByte();
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06007DAA RID: 32170 RVA: 0x001A6110 File Offset: 0x001A4310
|
||||
[Token(Token = "0x6007DAA")]
|
||||
[Address(RVA = "0x2034C90", Offset = "0x2033690", VA = "0x182034C90", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
Stream stream = this.output;
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04005A2F RID: 23087
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4005A2F")]
|
||||
private readonly Stream output;
|
||||
|
||||
// Token: 0x04005A30 RID: 23088
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4005A30")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user