a
This commit is contained in:
+258
@@ -0,0 +1,258 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001939 RID: 6457
|
||||
[Token(Token = "0x2001939")]
|
||||
public abstract class BaseInputStream : Stream
|
||||
{
|
||||
// Token: 0x17001864 RID: 6244
|
||||
// (get) Token: 0x0600993D RID: 39229 RVA: 0x001FCEE8 File Offset: 0x001FB0E8
|
||||
[Token(Token = "0x17001864")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x600993D")]
|
||||
[Address(RVA = "0x18D5E40", Offset = "0x18D4C40", VA = "0x1818D5E40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001865 RID: 6245
|
||||
// (get) Token: 0x0600993E RID: 39230 RVA: 0x001FCF00 File Offset: 0x001FB100
|
||||
[Token(Token = "0x17001865")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x600993E")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001866 RID: 6246
|
||||
// (get) Token: 0x0600993F RID: 39231 RVA: 0x001FCF10 File Offset: 0x001FB110
|
||||
[Token(Token = "0x17001866")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x600993F")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009940 RID: 39232 RVA: 0x001FCF20 File Offset: 0x001FB120
|
||||
[Token(Token = "0x6009940")]
|
||||
[Address(RVA = "0x18D5BF0", Offset = "0x18D49F0", VA = "0x1818D5BF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009941 RID: 39233 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009941")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001867 RID: 6247
|
||||
// (get) Token: 0x06009942 RID: 39234 RVA: 0x001FCF3C File Offset: 0x001FB13C
|
||||
[Token(Token = "0x17001867")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6009942")]
|
||||
[Address(RVA = "0x18D5E50", Offset = "0x18D4C50", VA = "0x1818D5E50", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009942)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001868 RID: 6248
|
||||
// (get) Token: 0x06009943 RID: 39235 RVA: 0x001FCF50 File Offset: 0x001FB150
|
||||
// (set) Token: 0x06009944 RID: 39236 RVA: 0x001FCF64 File Offset: 0x001FB164
|
||||
[Token(Token = "0x17001868")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6009943")]
|
||||
[Address(RVA = "0x18D5EA0", Offset = "0x18D4CA0", VA = "0x1818D5EA0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009943)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6009944")]
|
||||
[Address(RVA = "0x18D5EF0", Offset = "0x18D4CF0", VA = "0x1818D5EF0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009944)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009945 RID: 39237 RVA: 0x001FCF78 File Offset: 0x001FB178
|
||||
[Token(Token = "0x6009945")]
|
||||
[Address(RVA = "0x18D5C00", Offset = "0x18D4A00", VA = "0x1818D5C00", 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: 0x06009946 RID: 39238 RVA: 0x001FCF9C File Offset: 0x001FB19C
|
||||
[Token(Token = "0x6009946")]
|
||||
[Address(RVA = "0x18D5CF0", Offset = "0x18D4AF0", VA = "0x1818D5CF0", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009946)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009947 RID: 39239 RVA: 0x001FCFB0 File Offset: 0x001FB1B0
|
||||
[Token(Token = "0x6009947")]
|
||||
[Address(RVA = "0x18D5D40", Offset = "0x18D4B40", VA = "0x1818D5D40", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009947)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009948 RID: 39240 RVA: 0x001FCFC4 File Offset: 0x001FB1C4
|
||||
[Token(Token = "0x6009948")]
|
||||
[Address(RVA = "0x18D5D90", Offset = "0x18D4B90", VA = "0x1818D5D90", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009948)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009949 RID: 39241 RVA: 0x001FCFD8 File Offset: 0x001FB1D8
|
||||
[Token(Token = "0x6009949")]
|
||||
[Address(RVA = "0x18D5DE0", Offset = "0x18D4BE0", VA = "0x1818D5DE0")]
|
||||
protected BaseInputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400686B RID: 26731
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400686B")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+266
@@ -0,0 +1,266 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193A RID: 6458
|
||||
[Token(Token = "0x200193A")]
|
||||
public abstract class BaseOutputStream : Stream
|
||||
{
|
||||
// Token: 0x17001869 RID: 6249
|
||||
// (get) Token: 0x0600994A RID: 39242 RVA: 0x001FCFEC File Offset: 0x001FB1EC
|
||||
[Token(Token = "0x17001869")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x600994A")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186A RID: 6250
|
||||
// (get) Token: 0x0600994B RID: 39243 RVA: 0x001FCFFC File Offset: 0x001FB1FC
|
||||
[Token(Token = "0x1700186A")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x600994B")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186B RID: 6251
|
||||
// (get) Token: 0x0600994C RID: 39244 RVA: 0x001FD00C File Offset: 0x001FB20C
|
||||
[Token(Token = "0x1700186B")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x600994C")]
|
||||
[Address(RVA = "0x18D5E40", Offset = "0x18D4C40", VA = "0x1818D5E40", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600994D RID: 39245 RVA: 0x001FD024 File Offset: 0x001FB224
|
||||
[Token(Token = "0x600994D")]
|
||||
[Address(RVA = "0x18D5BF0", Offset = "0x18D49F0", VA = "0x1818D5BF0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x0600994E RID: 39246 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600994E")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x1700186C RID: 6252
|
||||
// (get) Token: 0x0600994F RID: 39247 RVA: 0x001FD040 File Offset: 0x001FB240
|
||||
[Token(Token = "0x1700186C")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x600994F")]
|
||||
[Address(RVA = "0x18D61F0", Offset = "0x18D4FF0", VA = "0x1818D61F0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600994F)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186D RID: 6253
|
||||
// (get) Token: 0x06009950 RID: 39248 RVA: 0x001FD054 File Offset: 0x001FB254
|
||||
// (set) Token: 0x06009951 RID: 39249 RVA: 0x001FD068 File Offset: 0x001FB268
|
||||
[Token(Token = "0x1700186D")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6009950")]
|
||||
[Address(RVA = "0x18D6240", Offset = "0x18D5040", VA = "0x1818D6240", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009950)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6009951")]
|
||||
[Address(RVA = "0x18D6290", Offset = "0x18D5090", VA = "0x1818D6290", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009951)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009952 RID: 39250 RVA: 0x001FD07C File Offset: 0x001FB27C
|
||||
[Token(Token = "0x6009952")]
|
||||
[Address(RVA = "0x18D5F40", Offset = "0x18D4D40", VA = "0x1818D5F40", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009952)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009953 RID: 39251 RVA: 0x001FD090 File Offset: 0x001FB290
|
||||
[Token(Token = "0x6009953")]
|
||||
[Address(RVA = "0x18D5F90", Offset = "0x18D4D90", VA = "0x1818D5F90", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009953)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009954 RID: 39252 RVA: 0x001FD0A4 File Offset: 0x001FB2A4
|
||||
[Token(Token = "0x6009954")]
|
||||
[Address(RVA = "0x18D5FE0", Offset = "0x18D4DE0", VA = "0x1818D5FE0", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009954)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009955 RID: 39253 RVA: 0x001FD0B8 File Offset: 0x001FB2B8
|
||||
[Token(Token = "0x6009955")]
|
||||
[Address(RVA = "0x18D6110", Offset = "0x18D4F10", VA = "0x1818D6110", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009956 RID: 39254 RVA: 0x001FD0CC File Offset: 0x001FB2CC
|
||||
[Token(Token = "0x6009956")]
|
||||
[Address(RVA = "0x18D60D0", Offset = "0x18D4ED0", VA = "0x1818D60D0", Slot = "31")]
|
||||
public virtual void Write(params byte[] buffer)
|
||||
{
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009957 RID: 39255 RVA: 0x001FD0E8 File Offset: 0x001FB2E8
|
||||
[Token(Token = "0x6009957")]
|
||||
[Address(RVA = "0x18D6030", Offset = "0x18D4E30", VA = "0x1818D6030", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
(new byte[1])[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009958 RID: 39256 RVA: 0x001FD110 File Offset: 0x001FB310
|
||||
[Token(Token = "0x6009958")]
|
||||
[Address(RVA = "0x18D6190", Offset = "0x18D4F90", VA = "0x1818D6190")]
|
||||
protected BaseOutputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400686C RID: 26732
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400686C")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193B RID: 6459
|
||||
[Token(Token = "0x200193B")]
|
||||
public class FilterStream : Stream
|
||||
{
|
||||
// Token: 0x06009959 RID: 39257 RVA: 0x001FD124 File Offset: 0x001FB324
|
||||
[Token(Token = "0x6009959")]
|
||||
[Address(RVA = "0x18DD590", Offset = "0x18DC390", VA = "0x1818DD590")]
|
||||
public FilterStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x1700186E RID: 6254
|
||||
// (get) Token: 0x0600995A RID: 39258 RVA: 0x001FD140 File Offset: 0x001FB340
|
||||
[Token(Token = "0x1700186E")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x600995A")]
|
||||
[Address(RVA = "0x5E1930", Offset = "0x5E0730", VA = "0x1805E1930", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700186F RID: 6255
|
||||
// (get) Token: 0x0600995B RID: 39259 RVA: 0x001FD160 File Offset: 0x001FB360
|
||||
[Token(Token = "0x1700186F")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x600995B")]
|
||||
[Address(RVA = "0x5E1960", Offset = "0x5E0760", VA = "0x1805E1960", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001870 RID: 6256
|
||||
// (get) Token: 0x0600995C RID: 39260 RVA: 0x001FD180 File Offset: 0x001FB380
|
||||
[Token(Token = "0x17001870")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x600995C")]
|
||||
[Address(RVA = "0x5E1990", Offset = "0x5E0790", VA = "0x1805E1990", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001871 RID: 6257
|
||||
// (get) Token: 0x0600995D RID: 39261 RVA: 0x001FD1A0 File Offset: 0x001FB3A0
|
||||
[Token(Token = "0x17001871")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x600995D")]
|
||||
[Address(RVA = "0x44EBE0", Offset = "0x44D9E0", VA = "0x18044EBE0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001872 RID: 6258
|
||||
// (get) Token: 0x0600995E RID: 39262 RVA: 0x001FD1C0 File Offset: 0x001FB3C0
|
||||
// (set) Token: 0x0600995F RID: 39263 RVA: 0x001FD1E0 File Offset: 0x001FB3E0
|
||||
[Token(Token = "0x17001872")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x600995E")]
|
||||
[Address(RVA = "0x44EC10", Offset = "0x44DA10", VA = "0x18044EC10", Slot = "11")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x600995F")]
|
||||
[Address(RVA = "0x5E19C0", Offset = "0x5E07C0", VA = "0x1805E19C0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009960 RID: 39264 RVA: 0x001FD200 File Offset: 0x001FB400
|
||||
[Token(Token = "0x6009960")]
|
||||
[Address(RVA = "0x18DD510", Offset = "0x18DC310", VA = "0x1818DD510", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.s.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009961 RID: 39265 RVA: 0x001FD228 File Offset: 0x001FB428
|
||||
[Token(Token = "0x6009961")]
|
||||
[Address(RVA = "0x44D240", Offset = "0x44C040", VA = "0x18044D240", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009962 RID: 39266 RVA: 0x001FD248 File Offset: 0x001FB448
|
||||
[Token(Token = "0x6009962")]
|
||||
[Address(RVA = "0x5E1810", Offset = "0x5E0610", VA = "0x1805E1810", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009963 RID: 39267 RVA: 0x001FD268 File Offset: 0x001FB468
|
||||
[Token(Token = "0x6009963")]
|
||||
[Address(RVA = "0x44E4A0", Offset = "0x44D2A0", VA = "0x18044E4A0", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009964 RID: 39268 RVA: 0x001FD288 File Offset: 0x001FB488
|
||||
[Token(Token = "0x6009964")]
|
||||
[Address(RVA = "0x5E17E0", Offset = "0x5E05E0", VA = "0x1805E17E0", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009965 RID: 39269 RVA: 0x001FD2A8 File Offset: 0x001FB4A8
|
||||
[Token(Token = "0x6009965")]
|
||||
[Address(RVA = "0x5E17B0", Offset = "0x5E05B0", VA = "0x1805E17B0", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009966 RID: 39270 RVA: 0x001FD2C8 File Offset: 0x001FB4C8
|
||||
[Token(Token = "0x6009966")]
|
||||
[Address(RVA = "0x5E1870", Offset = "0x5E0670", VA = "0x1805E1870", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009967 RID: 39271 RVA: 0x001FD2E8 File Offset: 0x001FB4E8
|
||||
[Token(Token = "0x6009967")]
|
||||
[Address(RVA = "0x5E1840", Offset = "0x5E0640", VA = "0x1805E1840", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x0400686D RID: 26733
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400686D")]
|
||||
protected readonly Stream s;
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193C RID: 6460
|
||||
[Token(Token = "0x200193C")]
|
||||
internal class NullOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06009968 RID: 39272 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009968")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06009969 RID: 39273 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009969")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 0x0600996A RID: 39274 RVA: 0x001FD308 File Offset: 0x001FB508
|
||||
[Token(Token = "0x600996A")]
|
||||
[Address(RVA = "0x18D6190", Offset = "0x18D4F90", VA = "0x1818D6190")]
|
||||
public NullOutputStream()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001942 RID: 6466
|
||||
[Token(Token = "0x2001942")]
|
||||
[Serializable]
|
||||
public class PemGenerationException : Exception
|
||||
{
|
||||
// Token: 0x06009985 RID: 39301 RVA: 0x001FD724 File Offset: 0x001FB924
|
||||
[Token(Token = "0x6009985")]
|
||||
[Address(RVA = "0x18E5110", Offset = "0x18E3F10", VA = "0x1818E5110")]
|
||||
public PemGenerationException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009986 RID: 39302 RVA: 0x001FD738 File Offset: 0x001FB938
|
||||
[Token(Token = "0x6009986")]
|
||||
[Address(RVA = "0x18E5020", Offset = "0x18E3E20", VA = "0x1818E5020")]
|
||||
public PemGenerationException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009987 RID: 39303 RVA: 0x001FD74C File Offset: 0x001FB94C
|
||||
[Token(Token = "0x6009987")]
|
||||
[Address(RVA = "0x18E5090", Offset = "0x18E3E90", VA = "0x1818E5090")]
|
||||
public PemGenerationException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001943 RID: 6467
|
||||
[Token(Token = "0x2001943")]
|
||||
public class PemHeader
|
||||
{
|
||||
// Token: 0x06009988 RID: 39304 RVA: 0x001FD764 File Offset: 0x001FB964
|
||||
[Token(Token = "0x6009988")]
|
||||
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
|
||||
public PemHeader(string name, string val)
|
||||
{
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
// Token: 0x17001873 RID: 6259
|
||||
// (get) Token: 0x06009989 RID: 39305 RVA: 0x001FD788 File Offset: 0x001FB988
|
||||
[Token(Token = "0x17001873")]
|
||||
public virtual string Name
|
||||
{
|
||||
[Token(Token = "0x6009989")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001874 RID: 6260
|
||||
// (get) Token: 0x0600998A RID: 39306 RVA: 0x001FD79C File Offset: 0x001FB99C
|
||||
[Token(Token = "0x17001874")]
|
||||
public virtual string Value
|
||||
{
|
||||
[Token(Token = "0x600998A")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.val;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600998B RID: 39307 RVA: 0x001FD7B0 File Offset: 0x001FB9B0
|
||||
[Token(Token = "0x600998B")]
|
||||
[Address(RVA = "0x18E5280", Offset = "0x18E4080", VA = "0x1818E5280", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600998B)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600998C RID: 39308 RVA: 0x001FD7E4 File Offset: 0x001FB9E4
|
||||
[Token(Token = "0x600998C")]
|
||||
[Address(RVA = "0x18E5170", Offset = "0x18E3F70", VA = "0x1818E5170", 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: 0x0600998D RID: 39309 RVA: 0x001FD820 File Offset: 0x001FBA20
|
||||
[Token(Token = "0x600998D")]
|
||||
[Address(RVA = "0x18E52F0", Offset = "0x18E40F0", VA = "0x1818E52F0")]
|
||||
private int GetHashCode(string s)
|
||||
{
|
||||
if (s != 0)
|
||||
{
|
||||
object obj = ((ICloneable)s).Clone();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x04006874 RID: 26740
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006874")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04006875 RID: 26741
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006875")]
|
||||
private string val;
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001944 RID: 6468
|
||||
[Token(Token = "0x2001944")]
|
||||
public class PemObject : PemObjectGenerator
|
||||
{
|
||||
// Token: 0x0600998E RID: 39310 RVA: 0x001FD83C File Offset: 0x001FBA3C
|
||||
[Token(Token = "0x600998E")]
|
||||
[Address(RVA = "0x18E53E0", Offset = "0x18E41E0", VA = "0x1818E53E0")]
|
||||
public PemObject(string type, byte[] content)
|
||||
{
|
||||
ArrayList arrayList = new ArrayList();
|
||||
}
|
||||
|
||||
// Token: 0x0600998F RID: 39311 RVA: 0x001FD850 File Offset: 0x001FBA50
|
||||
[Token(Token = "0x600998F")]
|
||||
[Address(RVA = "0x18E5320", Offset = "0x18E4120", VA = "0x1818E5320")]
|
||||
public PemObject(string type, IList headers, byte[] content)
|
||||
{
|
||||
this.type = type;
|
||||
ArrayList arrayList = new ArrayList(headers);
|
||||
this.headers = arrayList;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// Token: 0x17001875 RID: 6261
|
||||
// (get) Token: 0x06009990 RID: 39312 RVA: 0x001FD880 File Offset: 0x001FBA80
|
||||
[Token(Token = "0x17001875")]
|
||||
public string Type
|
||||
{
|
||||
[Token(Token = "0x6009990")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001876 RID: 6262
|
||||
// (get) Token: 0x06009991 RID: 39313 RVA: 0x001FD894 File Offset: 0x001FBA94
|
||||
[Token(Token = "0x17001876")]
|
||||
public IList Headers
|
||||
{
|
||||
[Token(Token = "0x6009991")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.headers;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001877 RID: 6263
|
||||
// (get) Token: 0x06009992 RID: 39314 RVA: 0x001FD8A8 File Offset: 0x001FBAA8
|
||||
[Token(Token = "0x17001877")]
|
||||
public byte[] Content
|
||||
{
|
||||
[Token(Token = "0x6009992")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.content;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009993 RID: 39315 RVA: 0x001FD8BC File Offset: 0x001FBABC
|
||||
[Token(Token = "0x6009993")]
|
||||
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", Slot = "4")]
|
||||
public PemObject Generate()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x04006876 RID: 26742
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006876")]
|
||||
private string type;
|
||||
|
||||
// Token: 0x04006877 RID: 26743
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006877")]
|
||||
private IList headers;
|
||||
|
||||
// Token: 0x04006878 RID: 26744
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006878")]
|
||||
private byte[] content;
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001945 RID: 6469
|
||||
[Token(Token = "0x2001945")]
|
||||
public interface PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06009994 RID: 39316
|
||||
[Token(Token = "0x6009994")]
|
||||
[Address(Slot = "0")]
|
||||
PemObject Generate();
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001946 RID: 6470
|
||||
[Token(Token = "0x2001946")]
|
||||
public interface PemObjectParser
|
||||
{
|
||||
// Token: 0x06009995 RID: 39317
|
||||
[Token(Token = "0x6009995")]
|
||||
[Address(Slot = "0")]
|
||||
object ParseObject(PemObject obj);
|
||||
}
|
||||
}
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001947 RID: 6471
|
||||
[Token(Token = "0x2001947")]
|
||||
public class PemReader
|
||||
{
|
||||
// Token: 0x06009996 RID: 39318 RVA: 0x001FD8CC File Offset: 0x001FBACC
|
||||
[Token(Token = "0x6009996")]
|
||||
[Address(RVA = "0x18E59C0", Offset = "0x18E47C0", VA = "0x1818E59C0")]
|
||||
public PemReader(TextReader reader)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009996)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001878 RID: 6264
|
||||
// (get) Token: 0x06009997 RID: 39319 RVA: 0x001FD8F8 File Offset: 0x001FBAF8
|
||||
[Token(Token = "0x17001878")]
|
||||
public TextReader Reader
|
||||
{
|
||||
[Token(Token = "0x6009997")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.reader;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009998 RID: 39320 RVA: 0x001FD90C File Offset: 0x001FBB0C
|
||||
[Token(Token = "0x6009998")]
|
||||
[Address(RVA = "0x18E58B0", Offset = "0x18E46B0", VA = "0x1818E58B0")]
|
||||
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: 0x06009999 RID: 39321 RVA: 0x001FD958 File Offset: 0x001FBB58
|
||||
[Token(Token = "0x6009999")]
|
||||
[Address(RVA = "0x18E54A0", Offset = "0x18E42A0", VA = "0x1818E54A0")]
|
||||
private PemObject LoadObject(string type)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009999)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04006879 RID: 26745
|
||||
[Token(Token = "0x4006879")]
|
||||
private const string BeginString = "-----BEGIN ";
|
||||
|
||||
// Token: 0x0400687A RID: 26746
|
||||
[Token(Token = "0x400687A")]
|
||||
private const string EndString = "-----END ";
|
||||
|
||||
// Token: 0x0400687B RID: 26747
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400687B")]
|
||||
private readonly TextReader reader;
|
||||
}
|
||||
}
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001948 RID: 6472
|
||||
[Token(Token = "0x2001948")]
|
||||
public class PemWriter
|
||||
{
|
||||
// Token: 0x0600999A RID: 39322 RVA: 0x001FDA60 File Offset: 0x001FBC60
|
||||
[Token(Token = "0x600999A")]
|
||||
[Address(RVA = "0x18E64E0", Offset = "0x18E52E0", VA = "0x1818E64E0")]
|
||||
public PemWriter(TextWriter writer)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600999A)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001879 RID: 6265
|
||||
// (get) Token: 0x0600999B RID: 39323 RVA: 0x001FDAAC File Offset: 0x001FBCAC
|
||||
[Token(Token = "0x17001879")]
|
||||
public TextWriter Writer
|
||||
{
|
||||
[Token(Token = "0x600999B")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.writer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600999C RID: 39324 RVA: 0x001FDAC0 File Offset: 0x001FBCC0
|
||||
[Token(Token = "0x600999C")]
|
||||
[Address(RVA = "0x18E5A40", Offset = "0x18E4840", VA = "0x1818E5A40")]
|
||||
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_82;
|
||||
}
|
||||
int stringLength = type.ToString().m_stringLength;
|
||||
num3 += stringLength;
|
||||
}
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
int num4 = obj.content.Length;
|
||||
num4 += 2;
|
||||
throw new NullReferenceException();
|
||||
IL_82:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600999D RID: 39325 RVA: 0x001FDB5C File Offset: 0x001FBD5C
|
||||
[Token(Token = "0x600999D")]
|
||||
[Address(RVA = "0x18E5E70", Offset = "0x18E4C70", VA = "0x1818E5E70")]
|
||||
public void WriteObject(PemObjectGenerator objGen)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
string text;
|
||||
if (text <= 0)
|
||||
{
|
||||
goto IL_46;
|
||||
}
|
||||
if (text != 0)
|
||||
{
|
||||
if (num < text)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
}
|
||||
if (text == 0)
|
||||
{
|
||||
goto IL_BF;
|
||||
}
|
||||
string text2 = text.ToString();
|
||||
}
|
||||
num2 = 0;
|
||||
int num3;
|
||||
if (num3 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
TextWriter textWriter = this.writer;
|
||||
IL_46:
|
||||
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_BF:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600999E RID: 39326 RVA: 0x001FDC30 File Offset: 0x001FBE30
|
||||
[Token(Token = "0x600999E")]
|
||||
[Address(RVA = "0x18E5D70", Offset = "0x18E4B70", VA = "0x1818E5D70")]
|
||||
private void WriteEncoded(byte[] bytes)
|
||||
{
|
||||
int length = bytes.Length;
|
||||
int num = 0;
|
||||
byte[] array = Base64.Encode(bytes, num, length);
|
||||
int num2 = 0;
|
||||
if (num2 < array.Length)
|
||||
{
|
||||
int num3 = 0;
|
||||
char[] array2 = this.buf;
|
||||
int length2 = array2.Length;
|
||||
if (num3 != length2 && 0 < array.Length)
|
||||
{
|
||||
num3++;
|
||||
byte b;
|
||||
array2[0] = (char)b;
|
||||
}
|
||||
this.writer.WriteLine(array2);
|
||||
char[] array3 = this.buf;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600999F RID: 39327 RVA: 0x001FDCB4 File Offset: 0x001FBEB4
|
||||
[Token(Token = "0x600999F")]
|
||||
[Address(RVA = "0x18E6460", Offset = "0x18E5260", VA = "0x1818E6460")]
|
||||
private void WritePreEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----BEGIN " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x060099A0 RID: 39328 RVA: 0x001FDCE8 File Offset: 0x001FBEE8
|
||||
[Token(Token = "0x60099A0")]
|
||||
[Address(RVA = "0x18E63E0", Offset = "0x18E51E0", VA = "0x1818E63E0")]
|
||||
private void WritePostEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----END " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x0400687C RID: 26748
|
||||
[Token(Token = "0x400687C")]
|
||||
private const int LineLength = 64;
|
||||
|
||||
// Token: 0x0400687D RID: 26749
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400687D")]
|
||||
private readonly TextWriter writer;
|
||||
|
||||
// Token: 0x0400687E RID: 26750
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400687E")]
|
||||
private readonly int nlLength;
|
||||
|
||||
// Token: 0x0400687F RID: 26751
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400687F")]
|
||||
private char[] buf;
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193D RID: 6461
|
||||
[Token(Token = "0x200193D")]
|
||||
public class PushbackStream : FilterStream
|
||||
{
|
||||
// Token: 0x0600996B RID: 39275 RVA: 0x001FD31C File Offset: 0x001FB51C
|
||||
[Token(Token = "0x600996B")]
|
||||
[Address(RVA = "0x18E7140", Offset = "0x18E5F40", VA = "0x1818E7140")]
|
||||
public PushbackStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x0600996C RID: 39276 RVA: 0x001FD348 File Offset: 0x001FB548
|
||||
[Token(Token = "0x600996C")]
|
||||
[Address(RVA = "0x18E7010", Offset = "0x18E5E10", VA = "0x1818E7010", 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: 0x0600996D RID: 39277 RVA: 0x001FD384 File Offset: 0x001FB584
|
||||
[Token(Token = "0x600996D")]
|
||||
[Address(RVA = "0x18E7050", Offset = "0x18E5E50", VA = "0x1818E7050", 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: 0x0600996E RID: 39278 RVA: 0x001FD3C4 File Offset: 0x001FB5C4
|
||||
[Token(Token = "0x600996E")]
|
||||
[Address(RVA = "0x18E70C0", Offset = "0x18E5EC0", VA = "0x1818E70C0", Slot = "31")]
|
||||
public virtual void Unread(int b)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600996E)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0400686E RID: 26734
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400686E")]
|
||||
private int buf = (int)((ulong)4294967295L);
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193E RID: 6462
|
||||
[Token(Token = "0x200193E")]
|
||||
[Serializable]
|
||||
public class StreamOverflowException : IOException
|
||||
{
|
||||
// Token: 0x0600996F RID: 39279 RVA: 0x001FD3EC File Offset: 0x001FB5EC
|
||||
[Token(Token = "0x600996F")]
|
||||
[Address(RVA = "0x18E71B0", Offset = "0x18E5FB0", VA = "0x1818E71B0")]
|
||||
public StreamOverflowException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009970 RID: 39280 RVA: 0x001FD400 File Offset: 0x001FB600
|
||||
[Token(Token = "0x6009970")]
|
||||
[Address(RVA = "0x424140", Offset = "0x422F40", VA = "0x180424140")]
|
||||
public StreamOverflowException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009971 RID: 39281 RVA: 0x001FD414 File Offset: 0x001FB614
|
||||
[Token(Token = "0x6009971")]
|
||||
[Address(RVA = "0x18E71C0", Offset = "0x18E5FC0", VA = "0x1818E71C0")]
|
||||
public StreamOverflowException(string message, Exception exception)
|
||||
: base(message, exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x0200193F RID: 6463
|
||||
[Token(Token = "0x200193F")]
|
||||
public sealed class Streams
|
||||
{
|
||||
// Token: 0x06009972 RID: 39282 RVA: 0x001FD42C File Offset: 0x001FB62C
|
||||
[Token(Token = "0x6009972")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Streams()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009973 RID: 39283 RVA: 0x001FD440 File Offset: 0x001FB640
|
||||
[Token(Token = "0x6009973")]
|
||||
[Address(RVA = "0x18E71D0", Offset = "0x18E5FD0", VA = "0x1818E71D0")]
|
||||
public static void Drain(Stream inStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
}
|
||||
|
||||
// Token: 0x06009974 RID: 39284 RVA: 0x001FD460 File Offset: 0x001FB660
|
||||
[Token(Token = "0x6009974")]
|
||||
[Address(RVA = "0x18E75B0", Offset = "0x18E63B0", VA = "0x1818E75B0")]
|
||||
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: 0x06009975 RID: 39285 RVA: 0x001FD490 File Offset: 0x001FB690
|
||||
[Token(Token = "0x6009975")]
|
||||
[Address(RVA = "0x18E7440", Offset = "0x18E6240", VA = "0x1818E7440")]
|
||||
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: 0x06009976 RID: 39286 RVA: 0x001FD4C4 File Offset: 0x001FB6C4
|
||||
[Token(Token = "0x6009976")]
|
||||
[Address(RVA = "0x18E7740", Offset = "0x18E6540", VA = "0x1818E7740")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf)
|
||||
{
|
||||
int num = buf.Length;
|
||||
int num2 = 0;
|
||||
if (num > 0)
|
||||
{
|
||||
num -= num2;
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06009977 RID: 39287 RVA: 0x001FD4EC File Offset: 0x001FB6EC
|
||||
[Token(Token = "0x6009977")]
|
||||
[Address(RVA = "0x18E76B0", Offset = "0x18E64B0", VA = "0x1818E76B0")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06009978 RID: 39288 RVA: 0x001FD508 File Offset: 0x001FB708
|
||||
[Token(Token = "0x6009978")]
|
||||
[Address(RVA = "0x18E7380", Offset = "0x18E6180", VA = "0x1818E7380")]
|
||||
public static void PipeAll(Stream inStr, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009979 RID: 39289 RVA: 0x001FD530 File Offset: 0x001FB730
|
||||
[Token(Token = "0x6009979")]
|
||||
[Address(RVA = "0x18E7260", Offset = "0x18E6060", VA = "0x1818E7260")]
|
||||
public static long PipeAllLimited(Stream inStr, long limit, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600997A RID: 39290 RVA: 0x001FD558 File Offset: 0x001FB758
|
||||
[Token(Token = "0x600997A")]
|
||||
[Address(RVA = "0x18E77C0", Offset = "0x18E65C0", VA = "0x1818E77C0")]
|
||||
public static void WriteBufTo(MemoryStream buf, Stream output)
|
||||
{
|
||||
((IDisposable)buf).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x0600997B RID: 39291 RVA: 0x001FD574 File Offset: 0x001FB774
|
||||
[Token(Token = "0x600997B")]
|
||||
[Address(RVA = "0x18E77F0", Offset = "0x18E65F0", VA = "0x1818E77F0")]
|
||||
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: 0x0600997C RID: 39292 RVA: 0x001FD5A0 File Offset: 0x001FB7A0
|
||||
[Token(Token = "0x600997C")]
|
||||
[Address(RVA = "0x18E78C0", Offset = "0x18E66C0", VA = "0x1818E78C0")]
|
||||
public static void WriteZeroes(Stream outStr, long count)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
int num2 = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x0400686F RID: 26735
|
||||
[Token(Token = "0x400686F")]
|
||||
private const int BufferSize = 512;
|
||||
}
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001940 RID: 6464
|
||||
[Token(Token = "0x2001940")]
|
||||
public class TeeInputStream : BaseInputStream
|
||||
{
|
||||
// Token: 0x0600997D RID: 39293 RVA: 0x001FD5CC File Offset: 0x001FB7CC
|
||||
[Token(Token = "0x600997D")]
|
||||
[Address(RVA = "0x18E8020", Offset = "0x18E6E20", VA = "0x1818E8020")]
|
||||
public TeeInputStream(Stream input, Stream tee)
|
||||
{
|
||||
this.input = input;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x0600997E RID: 39294 RVA: 0x001FD5F0 File Offset: 0x001FB7F0
|
||||
[Token(Token = "0x600997E")]
|
||||
[Address(RVA = "0x18E7E90", Offset = "0x18E6C90", VA = "0x1818E7E90", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.input.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x0600997F RID: 39295 RVA: 0x001FD628 File Offset: 0x001FB828
|
||||
[Token(Token = "0x600997F")]
|
||||
[Address(RVA = "0x18E7F90", Offset = "0x18E6D90", VA = "0x1818E7F90", 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: 0x06009980 RID: 39296 RVA: 0x001FD650 File Offset: 0x001FB850
|
||||
[Token(Token = "0x6009980")]
|
||||
[Address(RVA = "0x18E7F30", Offset = "0x18E6D30", VA = "0x1818E7F30", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
Stream stream = this.input;
|
||||
Stream stream2 = this.tee;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04006870 RID: 26736
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006870")]
|
||||
private readonly Stream input;
|
||||
|
||||
// Token: 0x04006871 RID: 26737
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006871")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001941 RID: 6465
|
||||
[Token(Token = "0x2001941")]
|
||||
public class TeeOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06009981 RID: 39297 RVA: 0x001FD674 File Offset: 0x001FB874
|
||||
[Token(Token = "0x6009981")]
|
||||
[Address(RVA = "0x18E8230", Offset = "0x18E7030", VA = "0x1818E8230")]
|
||||
public TeeOutputStream(Stream output, Stream tee)
|
||||
{
|
||||
this.output = output;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06009982 RID: 39298 RVA: 0x001FD698 File Offset: 0x001FB898
|
||||
[Token(Token = "0x6009982")]
|
||||
[Address(RVA = "0x18E80A0", Offset = "0x18E6EA0", VA = "0x1818E80A0", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.output.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009983 RID: 39299 RVA: 0x001FD6D0 File Offset: 0x001FB8D0
|
||||
[Token(Token = "0x6009983")]
|
||||
[Address(RVA = "0x18E81A0", Offset = "0x18E6FA0", VA = "0x1818E81A0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num = this.output.ReadByte();
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009984 RID: 39300 RVA: 0x001FD6FC File Offset: 0x001FB8FC
|
||||
[Token(Token = "0x6009984")]
|
||||
[Address(RVA = "0x18E8140", Offset = "0x18E6F40", VA = "0x1818E8140", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
Stream stream = this.output;
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04006872 RID: 26738
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006872")]
|
||||
private readonly Stream output;
|
||||
|
||||
// Token: 0x04006873 RID: 26739
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006873")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user