m
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: 0x02001A19 RID: 6681
|
||||
[Token(Token = "0x2001A19")]
|
||||
public abstract class BaseInputStream : Stream
|
||||
{
|
||||
// Token: 0x17001901 RID: 6401
|
||||
// (get) Token: 0x06009D0B RID: 40203 RVA: 0x00205F80 File Offset: 0x00204180
|
||||
[Token(Token = "0x17001901")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6009D0B")]
|
||||
[Address(RVA = "0x4DF990", Offset = "0x4DE990", VA = "0x1804DF990", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001902 RID: 6402
|
||||
// (get) Token: 0x06009D0C RID: 40204 RVA: 0x00205F98 File Offset: 0x00204198
|
||||
[Token(Token = "0x17001902")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6009D0C")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001903 RID: 6403
|
||||
// (get) Token: 0x06009D0D RID: 40205 RVA: 0x00205FA8 File Offset: 0x002041A8
|
||||
[Token(Token = "0x17001903")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6009D0D")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "9")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D0E RID: 40206 RVA: 0x00205FB8 File Offset: 0x002041B8
|
||||
[Token(Token = "0x6009D0E")]
|
||||
[Address(RVA = "0x4DF740", Offset = "0x4DE740", VA = "0x1804DF740", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009D0F RID: 40207 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009D0F")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "17")]
|
||||
public sealed override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001904 RID: 6404
|
||||
// (get) Token: 0x06009D10 RID: 40208 RVA: 0x00205FD4 File Offset: 0x002041D4
|
||||
[Token(Token = "0x17001904")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6009D10")]
|
||||
[Address(RVA = "0x4DF9A0", Offset = "0x4DE9A0", VA = "0x1804DF9A0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D10)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001905 RID: 6405
|
||||
// (get) Token: 0x06009D11 RID: 40209 RVA: 0x00205FE8 File Offset: 0x002041E8
|
||||
// (set) Token: 0x06009D12 RID: 40210 RVA: 0x00205FFC File Offset: 0x002041FC
|
||||
[Token(Token = "0x17001905")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6009D11")]
|
||||
[Address(RVA = "0x4DF9F0", Offset = "0x4DE9F0", VA = "0x1804DF9F0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D11)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6009D12")]
|
||||
[Address(RVA = "0x4DFA40", Offset = "0x4DEA40", VA = "0x1804DFA40", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D12)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D13 RID: 40211 RVA: 0x00206010 File Offset: 0x00204210
|
||||
[Token(Token = "0x6009D13")]
|
||||
[Address(RVA = "0x4DF750", Offset = "0x4DE750", VA = "0x1804DF750", 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: 0x06009D14 RID: 40212 RVA: 0x00206034 File Offset: 0x00204234
|
||||
[Token(Token = "0x6009D14")]
|
||||
[Address(RVA = "0x4DF840", Offset = "0x4DE840", VA = "0x1804DF840", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D14)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D15 RID: 40213 RVA: 0x00206048 File Offset: 0x00204248
|
||||
[Token(Token = "0x6009D15")]
|
||||
[Address(RVA = "0x4DF890", Offset = "0x4DE890", VA = "0x1804DF890", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D15)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D16 RID: 40214 RVA: 0x0020605C File Offset: 0x0020425C
|
||||
[Token(Token = "0x6009D16")]
|
||||
[Address(RVA = "0x4DF8E0", Offset = "0x4DE8E0", VA = "0x1804DF8E0", Slot = "29")]
|
||||
public sealed override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D16)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseInputStream::Write(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D17 RID: 40215 RVA: 0x00206070 File Offset: 0x00204270
|
||||
[Token(Token = "0x6009D17")]
|
||||
[Address(RVA = "0x4DF930", Offset = "0x4DE930", VA = "0x1804DF930")]
|
||||
protected BaseInputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04006A24 RID: 27172
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006A24")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+266
@@ -0,0 +1,266 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001A1A RID: 6682
|
||||
[Token(Token = "0x2001A1A")]
|
||||
public abstract class BaseOutputStream : Stream
|
||||
{
|
||||
// Token: 0x17001906 RID: 6406
|
||||
// (get) Token: 0x06009D18 RID: 40216 RVA: 0x00206084 File Offset: 0x00204284
|
||||
[Token(Token = "0x17001906")]
|
||||
public sealed override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6009D18")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "7")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001907 RID: 6407
|
||||
// (get) Token: 0x06009D19 RID: 40217 RVA: 0x00206094 File Offset: 0x00204294
|
||||
[Token(Token = "0x17001907")]
|
||||
public sealed override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6009D19")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "8")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001908 RID: 6408
|
||||
// (get) Token: 0x06009D1A RID: 40218 RVA: 0x002060A4 File Offset: 0x002042A4
|
||||
[Token(Token = "0x17001908")]
|
||||
public sealed override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6009D1A")]
|
||||
[Address(RVA = "0x4DF990", Offset = "0x4DE990", VA = "0x1804DF990", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return !this.closed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D1B RID: 40219 RVA: 0x002060BC File Offset: 0x002042BC
|
||||
[Token(Token = "0x6009D1B")]
|
||||
[Address(RVA = "0x4DF740", Offset = "0x4DE740", VA = "0x1804DF740", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009D1C RID: 40220 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009D1C")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001909 RID: 6409
|
||||
// (get) Token: 0x06009D1D RID: 40221 RVA: 0x002060D8 File Offset: 0x002042D8
|
||||
[Token(Token = "0x17001909")]
|
||||
public sealed override long Length
|
||||
{
|
||||
[Token(Token = "0x6009D1D")]
|
||||
[Address(RVA = "0x4DFD00", Offset = "0x4DED00", VA = "0x1804DFD00", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D1D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::get_Length()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700190A RID: 6410
|
||||
// (get) Token: 0x06009D1E RID: 40222 RVA: 0x002060EC File Offset: 0x002042EC
|
||||
// (set) Token: 0x06009D1F RID: 40223 RVA: 0x00206100 File Offset: 0x00204300
|
||||
[Token(Token = "0x1700190A")]
|
||||
public sealed override long Position
|
||||
{
|
||||
[Token(Token = "0x6009D1E")]
|
||||
[Address(RVA = "0x4DFD50", Offset = "0x4DED50", VA = "0x1804DFD50", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D1E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::get_Position()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
[Token(Token = "0x6009D1F")]
|
||||
[Address(RVA = "0x4DFDA0", Offset = "0x4DEDA0", VA = "0x1804DFDA0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D1F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::set_Position(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D20 RID: 40224 RVA: 0x00206114 File Offset: 0x00204314
|
||||
[Token(Token = "0x6009D20")]
|
||||
[Address(RVA = "0x4DFA90", Offset = "0x4DEA90", VA = "0x1804DFA90", Slot = "27")]
|
||||
public sealed override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D20)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::Read(System.Byte[],System.Int32,System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D21 RID: 40225 RVA: 0x00206128 File Offset: 0x00204328
|
||||
[Token(Token = "0x6009D21")]
|
||||
[Address(RVA = "0x4DFAE0", Offset = "0x4DEAE0", VA = "0x1804DFAE0", Slot = "25")]
|
||||
public sealed override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D21)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::Seek(System.Int64,System.IO.SeekOrigin)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D22 RID: 40226 RVA: 0x0020613C File Offset: 0x0020433C
|
||||
[Token(Token = "0x6009D22")]
|
||||
[Address(RVA = "0x4DFB30", Offset = "0x4DEB30", VA = "0x1804DFB30", Slot = "26")]
|
||||
public sealed override void SetLength(long value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D22)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.BaseOutputStream::SetLength(System.Int64)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotSupportedException(var_0_05, newobj:NotSupportedException(NotSupportedException::.ctor))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D23 RID: 40227 RVA: 0x00206150 File Offset: 0x00204350
|
||||
[Token(Token = "0x6009D23")]
|
||||
[Address(RVA = "0x4DFC20", Offset = "0x4DEC20", VA = "0x1804DFC20", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009D24 RID: 40228 RVA: 0x00206164 File Offset: 0x00204364
|
||||
[Token(Token = "0x6009D24")]
|
||||
[Address(RVA = "0x45CD80", Offset = "0x45BD80", VA = "0x18045CD80", Slot = "31")]
|
||||
public virtual void Write(params byte[] buffer)
|
||||
{
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009D25 RID: 40229 RVA: 0x00206180 File Offset: 0x00204380
|
||||
[Token(Token = "0x6009D25")]
|
||||
[Address(RVA = "0x4DFB80", Offset = "0x4DEB80", VA = "0x1804DFB80", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
(new byte[1])[0] = b;
|
||||
int num = this.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009D26 RID: 40230 RVA: 0x002061A8 File Offset: 0x002043A8
|
||||
[Token(Token = "0x6009D26")]
|
||||
[Address(RVA = "0x4DFCA0", Offset = "0x4DECA0", VA = "0x1804DFCA0")]
|
||||
protected BaseOutputStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04006A25 RID: 27173
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006A25")]
|
||||
private bool closed;
|
||||
}
|
||||
}
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001A1B RID: 6683
|
||||
[Token(Token = "0x2001A1B")]
|
||||
public class FilterStream : Stream
|
||||
{
|
||||
// Token: 0x06009D27 RID: 40231 RVA: 0x002061BC File Offset: 0x002043BC
|
||||
[Token(Token = "0x6009D27")]
|
||||
[Address(RVA = "0x4E70A0", Offset = "0x4E60A0", VA = "0x1804E70A0")]
|
||||
public FilterStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x1700190B RID: 6411
|
||||
// (get) Token: 0x06009D28 RID: 40232 RVA: 0x002061D8 File Offset: 0x002043D8
|
||||
[Token(Token = "0x1700190B")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6009D28")]
|
||||
[Address(RVA = "0x4B7E10", Offset = "0x4B6E10", VA = "0x1804B7E10", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700190C RID: 6412
|
||||
// (get) Token: 0x06009D29 RID: 40233 RVA: 0x002061F8 File Offset: 0x002043F8
|
||||
[Token(Token = "0x1700190C")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6009D29")]
|
||||
[Address(RVA = "0x4B7E40", Offset = "0x4B6E40", VA = "0x1804B7E40", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700190D RID: 6413
|
||||
// (get) Token: 0x06009D2A RID: 40234 RVA: 0x00206218 File Offset: 0x00204418
|
||||
[Token(Token = "0x1700190D")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6009D2A")]
|
||||
[Address(RVA = "0x4B7E70", Offset = "0x4B6E70", VA = "0x1804B7E70", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700190E RID: 6414
|
||||
// (get) Token: 0x06009D2B RID: 40235 RVA: 0x00206238 File Offset: 0x00204438
|
||||
[Token(Token = "0x1700190E")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6009D2B")]
|
||||
[Address(RVA = "0x4B7EA0", Offset = "0x4B6EA0", VA = "0x1804B7EA0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700190F RID: 6415
|
||||
// (get) Token: 0x06009D2C RID: 40236 RVA: 0x00206258 File Offset: 0x00204458
|
||||
// (set) Token: 0x06009D2D RID: 40237 RVA: 0x00206278 File Offset: 0x00204478
|
||||
[Token(Token = "0x1700190F")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6009D2C")]
|
||||
[Address(RVA = "0x4B7ED0", Offset = "0x4B6ED0", VA = "0x1804B7ED0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
[Token(Token = "0x6009D2D")]
|
||||
[Address(RVA = "0x4B7F00", Offset = "0x4B6F00", VA = "0x1804B7F00", Slot = "12")]
|
||||
set
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D2E RID: 40238 RVA: 0x00206298 File Offset: 0x00204498
|
||||
[Token(Token = "0x6009D2E")]
|
||||
[Address(RVA = "0x4E7020", Offset = "0x4E6020", VA = "0x1804E7020", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.s.WriteTimeout;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009D2F RID: 40239 RVA: 0x002062C0 File Offset: 0x002044C0
|
||||
[Token(Token = "0x6009D2F")]
|
||||
[Address(RVA = "0x4B7C30", Offset = "0x4B6C30", VA = "0x1804B7C30", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009D30 RID: 40240 RVA: 0x002062E0 File Offset: 0x002044E0
|
||||
[Token(Token = "0x6009D30")]
|
||||
[Address(RVA = "0x4B7CC0", Offset = "0x4B6CC0", VA = "0x1804B7CC0", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009D31 RID: 40241 RVA: 0x00206300 File Offset: 0x00204500
|
||||
[Token(Token = "0x6009D31")]
|
||||
[Address(RVA = "0x4B7CF0", Offset = "0x4B6CF0", VA = "0x1804B7CF0", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009D32 RID: 40242 RVA: 0x00206320 File Offset: 0x00204520
|
||||
[Token(Token = "0x6009D32")]
|
||||
[Address(RVA = "0x4B7C90", Offset = "0x4B6C90", VA = "0x1804B7C90", Slot = "27")]
|
||||
public override int Read(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009D33 RID: 40243 RVA: 0x00206340 File Offset: 0x00204540
|
||||
[Token(Token = "0x6009D33")]
|
||||
[Address(RVA = "0x4B7C60", Offset = "0x4B6C60", VA = "0x1804B7C60", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009D34 RID: 40244 RVA: 0x00206360 File Offset: 0x00204560
|
||||
[Token(Token = "0x6009D34")]
|
||||
[Address(RVA = "0x4B7D50", Offset = "0x4B6D50", VA = "0x1804B7D50", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009D35 RID: 40245 RVA: 0x00206380 File Offset: 0x00204580
|
||||
[Token(Token = "0x6009D35")]
|
||||
[Address(RVA = "0x4B7D20", Offset = "0x4B6D20", VA = "0x1804B7D20", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
bool canRead = this.s.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04006A26 RID: 27174
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006A26")]
|
||||
protected readonly Stream s;
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001A1C RID: 6684
|
||||
[Token(Token = "0x2001A1C")]
|
||||
internal class NullOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06009D36 RID: 40246 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009D36")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06009D37 RID: 40247 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6009D37")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06009D38 RID: 40248 RVA: 0x002063A0 File Offset: 0x002045A0
|
||||
[Token(Token = "0x6009D38")]
|
||||
[Address(RVA = "0x4DFCA0", Offset = "0x4DECA0", VA = "0x1804DFCA0")]
|
||||
public NullOutputStream()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001A22 RID: 6690
|
||||
[Token(Token = "0x2001A22")]
|
||||
[Serializable]
|
||||
public class PemGenerationException : Exception
|
||||
{
|
||||
// Token: 0x06009D53 RID: 40275 RVA: 0x002067BC File Offset: 0x002049BC
|
||||
[Token(Token = "0x6009D53")]
|
||||
[Address(RVA = "0x4EECA0", Offset = "0x4EDCA0", VA = "0x1804EECA0")]
|
||||
public PemGenerationException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009D54 RID: 40276 RVA: 0x002067D0 File Offset: 0x002049D0
|
||||
[Token(Token = "0x6009D54")]
|
||||
[Address(RVA = "0x4EEBB0", Offset = "0x4EDBB0", VA = "0x1804EEBB0")]
|
||||
public PemGenerationException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009D55 RID: 40277 RVA: 0x002067E4 File Offset: 0x002049E4
|
||||
[Token(Token = "0x6009D55")]
|
||||
[Address(RVA = "0x4EEC20", Offset = "0x4EDC20", VA = "0x1804EEC20")]
|
||||
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: 0x02001A23 RID: 6691
|
||||
[Token(Token = "0x2001A23")]
|
||||
public class PemHeader
|
||||
{
|
||||
// Token: 0x06009D56 RID: 40278 RVA: 0x002067FC File Offset: 0x002049FC
|
||||
[Token(Token = "0x6009D56")]
|
||||
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
|
||||
public PemHeader(string name, string val)
|
||||
{
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
// Token: 0x17001910 RID: 6416
|
||||
// (get) Token: 0x06009D57 RID: 40279 RVA: 0x00206820 File Offset: 0x00204A20
|
||||
[Token(Token = "0x17001910")]
|
||||
public virtual string Name
|
||||
{
|
||||
[Token(Token = "0x6009D57")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001911 RID: 6417
|
||||
// (get) Token: 0x06009D58 RID: 40280 RVA: 0x00206834 File Offset: 0x00204A34
|
||||
[Token(Token = "0x17001911")]
|
||||
public virtual string Value
|
||||
{
|
||||
[Token(Token = "0x6009D58")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.val;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D59 RID: 40281 RVA: 0x00206848 File Offset: 0x00204A48
|
||||
[Token(Token = "0x6009D59")]
|
||||
[Address(RVA = "0x4EEE10", Offset = "0x4EDE10", VA = "0x1804EEE10", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D59)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemHeader::GetHashCode()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:int64(var_3, add:int64(ldloc:int64(var_3), ldloc:uint32[exp:int64](var_0)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06009D5A RID: 40282 RVA: 0x0020687C File Offset: 0x00204A7C
|
||||
[Token(Token = "0x6009D5A")]
|
||||
[Address(RVA = "0x4EED00", Offset = "0x4EDD00", VA = "0x1804EED00", 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: 0x06009D5B RID: 40283 RVA: 0x002068B8 File Offset: 0x00204AB8
|
||||
[Token(Token = "0x6009D5B")]
|
||||
[Address(RVA = "0x4EEE80", Offset = "0x4EDE80", VA = "0x1804EEE80")]
|
||||
private int GetHashCode(string s)
|
||||
{
|
||||
if (s != 0)
|
||||
{
|
||||
object obj = ((ICloneable)s).Clone();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x04006A2D RID: 27181
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006A2D")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04006A2E RID: 27182
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006A2E")]
|
||||
private string val;
|
||||
}
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001A24 RID: 6692
|
||||
[Token(Token = "0x2001A24")]
|
||||
public class PemObject : PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06009D5C RID: 40284 RVA: 0x002068D4 File Offset: 0x00204AD4
|
||||
[Token(Token = "0x6009D5C")]
|
||||
[Address(RVA = "0x4EEF70", Offset = "0x4EDF70", VA = "0x1804EEF70")]
|
||||
public PemObject(string type, byte[] content)
|
||||
{
|
||||
ArrayList arrayList = new ArrayList();
|
||||
}
|
||||
|
||||
// Token: 0x06009D5D RID: 40285 RVA: 0x002068E8 File Offset: 0x00204AE8
|
||||
[Token(Token = "0x6009D5D")]
|
||||
[Address(RVA = "0x4EEEB0", Offset = "0x4EDEB0", VA = "0x1804EEEB0")]
|
||||
public PemObject(string type, IList headers, byte[] content)
|
||||
{
|
||||
this.type = type;
|
||||
ArrayList arrayList = new ArrayList(headers);
|
||||
this.headers = arrayList;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// Token: 0x17001912 RID: 6418
|
||||
// (get) Token: 0x06009D5E RID: 40286 RVA: 0x00206918 File Offset: 0x00204B18
|
||||
[Token(Token = "0x17001912")]
|
||||
public string Type
|
||||
{
|
||||
[Token(Token = "0x6009D5E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001913 RID: 6419
|
||||
// (get) Token: 0x06009D5F RID: 40287 RVA: 0x0020692C File Offset: 0x00204B2C
|
||||
[Token(Token = "0x17001913")]
|
||||
public IList Headers
|
||||
{
|
||||
[Token(Token = "0x6009D5F")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.headers;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001914 RID: 6420
|
||||
// (get) Token: 0x06009D60 RID: 40288 RVA: 0x00206940 File Offset: 0x00204B40
|
||||
[Token(Token = "0x17001914")]
|
||||
public byte[] Content
|
||||
{
|
||||
[Token(Token = "0x6009D60")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.content;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D61 RID: 40289 RVA: 0x00206954 File Offset: 0x00204B54
|
||||
[Token(Token = "0x6009D61")]
|
||||
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "4")]
|
||||
public PemObject Generate()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x04006A2F RID: 27183
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006A2F")]
|
||||
private string type;
|
||||
|
||||
// Token: 0x04006A30 RID: 27184
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006A30")]
|
||||
private IList headers;
|
||||
|
||||
// Token: 0x04006A31 RID: 27185
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006A31")]
|
||||
private byte[] content;
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001A25 RID: 6693
|
||||
[Token(Token = "0x2001A25")]
|
||||
public interface PemObjectGenerator
|
||||
{
|
||||
// Token: 0x06009D62 RID: 40290
|
||||
[Token(Token = "0x6009D62")]
|
||||
[Address(Slot = "0")]
|
||||
PemObject Generate();
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001A26 RID: 6694
|
||||
[Token(Token = "0x2001A26")]
|
||||
public interface PemObjectParser
|
||||
{
|
||||
// Token: 0x06009D63 RID: 40291
|
||||
[Token(Token = "0x6009D63")]
|
||||
[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: 0x02001A27 RID: 6695
|
||||
[Token(Token = "0x2001A27")]
|
||||
public class PemReader
|
||||
{
|
||||
// Token: 0x06009D64 RID: 40292 RVA: 0x00206964 File Offset: 0x00204B64
|
||||
[Token(Token = "0x6009D64")]
|
||||
[Address(RVA = "0x4EF550", Offset = "0x4EE550", VA = "0x1804EF550")]
|
||||
public PemReader(TextReader reader)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D64)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemReader::.ctor(System.IO.TextReader)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_12:
|
||||
stloc:ArgumentNullException(var_0_1C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("reader")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001915 RID: 6421
|
||||
// (get) Token: 0x06009D65 RID: 40293 RVA: 0x00206990 File Offset: 0x00204B90
|
||||
[Token(Token = "0x17001915")]
|
||||
public TextReader Reader
|
||||
{
|
||||
[Token(Token = "0x6009D65")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.reader;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D66 RID: 40294 RVA: 0x002069A4 File Offset: 0x00204BA4
|
||||
[Token(Token = "0x6009D66")]
|
||||
[Address(RVA = "0x4EF440", Offset = "0x4EE440", VA = "0x1804EF440")]
|
||||
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: 0x06009D67 RID: 40295 RVA: 0x002069F0 File Offset: 0x00204BF0
|
||||
[Token(Token = "0x6009D67")]
|
||||
[Address(RVA = "0x4EF030", Offset = "0x4EE030", VA = "0x1804EF030")]
|
||||
private PemObject LoadObject(string type)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D67)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemObject BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemReader::LoadObject(System.String)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_EE:
|
||||
stloc:IOException(var_19_F8, newobj:IOException(IOException::.ctor, ldstr:string("base64 data appears to be truncated")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04006A32 RID: 27186
|
||||
[Token(Token = "0x4006A32")]
|
||||
private const string BeginString = "-----BEGIN ";
|
||||
|
||||
// Token: 0x04006A33 RID: 27187
|
||||
[Token(Token = "0x4006A33")]
|
||||
private const string EndString = "-----END ";
|
||||
|
||||
// Token: 0x04006A34 RID: 27188
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006A34")]
|
||||
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: 0x02001A28 RID: 6696
|
||||
[Token(Token = "0x2001A28")]
|
||||
public class PemWriter
|
||||
{
|
||||
// Token: 0x06009D68 RID: 40296 RVA: 0x00206AF8 File Offset: 0x00204CF8
|
||||
[Token(Token = "0x6009D68")]
|
||||
[Address(RVA = "0x4F0070", Offset = "0x4EF070", VA = "0x1804F0070")]
|
||||
public PemWriter(TextWriter writer)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D68)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemWriter::.ctor(System.IO.TextWriter)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_33:
|
||||
stloc:ArgumentNullException(var_2_3D, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("writer")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001916 RID: 6422
|
||||
// (get) Token: 0x06009D69 RID: 40297 RVA: 0x00206B44 File Offset: 0x00204D44
|
||||
[Token(Token = "0x17001916")]
|
||||
public TextWriter Writer
|
||||
{
|
||||
[Token(Token = "0x6009D69")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.writer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009D6A RID: 40298 RVA: 0x00206B58 File Offset: 0x00204D58
|
||||
[Token(Token = "0x6009D6A")]
|
||||
[Address(RVA = "0x4EF5D0", Offset = "0x4EE5D0", VA = "0x1804EF5D0")]
|
||||
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: 0x06009D6B RID: 40299 RVA: 0x00206BF4 File Offset: 0x00204DF4
|
||||
[Token(Token = "0x6009D6B")]
|
||||
[Address(RVA = "0x4EFA00", Offset = "0x4EEA00", VA = "0x1804EFA00")]
|
||||
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: 0x06009D6C RID: 40300 RVA: 0x00206CC8 File Offset: 0x00204EC8
|
||||
[Token(Token = "0x6009D6C")]
|
||||
[Address(RVA = "0x4EF900", Offset = "0x4EE900", VA = "0x1804EF900")]
|
||||
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: 0x06009D6D RID: 40301 RVA: 0x00206D4C File Offset: 0x00204F4C
|
||||
[Token(Token = "0x6009D6D")]
|
||||
[Address(RVA = "0x4EFFF0", Offset = "0x4EEFF0", VA = "0x1804EFFF0")]
|
||||
private void WritePreEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----BEGIN " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x06009D6E RID: 40302 RVA: 0x00206D80 File Offset: 0x00204F80
|
||||
[Token(Token = "0x6009D6E")]
|
||||
[Address(RVA = "0x4EFF70", Offset = "0x4EEF70", VA = "0x1804EFF70")]
|
||||
private void WritePostEncapsulationBoundary(string type)
|
||||
{
|
||||
TextWriter textWriter = this.writer;
|
||||
string text = "-----END " + type + "-----";
|
||||
Encoding encoding = textWriter.Encoding;
|
||||
}
|
||||
|
||||
// Token: 0x04006A35 RID: 27189
|
||||
[Token(Token = "0x4006A35")]
|
||||
private const int LineLength = 64;
|
||||
|
||||
// Token: 0x04006A36 RID: 27190
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006A36")]
|
||||
private readonly TextWriter writer;
|
||||
|
||||
// Token: 0x04006A37 RID: 27191
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006A37")]
|
||||
private readonly int nlLength;
|
||||
|
||||
// Token: 0x04006A38 RID: 27192
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006A38")]
|
||||
private char[] buf;
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001A1D RID: 6685
|
||||
[Token(Token = "0x2001A1D")]
|
||||
public class PushbackStream : FilterStream
|
||||
{
|
||||
// Token: 0x06009D39 RID: 40249 RVA: 0x002063B4 File Offset: 0x002045B4
|
||||
[Token(Token = "0x6009D39")]
|
||||
[Address(RVA = "0x4F0CD0", Offset = "0x4EFCD0", VA = "0x1804F0CD0")]
|
||||
public PushbackStream(Stream s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
// Token: 0x06009D3A RID: 40250 RVA: 0x002063E0 File Offset: 0x002045E0
|
||||
[Token(Token = "0x6009D3A")]
|
||||
[Address(RVA = "0x4F0BA0", Offset = "0x4EFBA0", VA = "0x1804F0BA0", 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: 0x06009D3B RID: 40251 RVA: 0x0020641C File Offset: 0x0020461C
|
||||
[Token(Token = "0x6009D3B")]
|
||||
[Address(RVA = "0x4F0BE0", Offset = "0x4EFBE0", VA = "0x1804F0BE0", 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: 0x06009D3C RID: 40252 RVA: 0x0020645C File Offset: 0x0020465C
|
||||
[Token(Token = "0x6009D3C")]
|
||||
[Address(RVA = "0x4F0C50", Offset = "0x4EFC50", VA = "0x1804F0C50", Slot = "31")]
|
||||
public virtual void Unread(int b)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009D3C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.PushbackStream::Unread(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_11:
|
||||
stloc:InvalidOperationException(var_0_1B, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("Can only push back one byte")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04006A27 RID: 27175
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006A27")]
|
||||
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: 0x02001A1E RID: 6686
|
||||
[Token(Token = "0x2001A1E")]
|
||||
[Serializable]
|
||||
public class StreamOverflowException : IOException
|
||||
{
|
||||
// Token: 0x06009D3D RID: 40253 RVA: 0x00206484 File Offset: 0x00204684
|
||||
[Token(Token = "0x6009D3D")]
|
||||
[Address(RVA = "0x4F0D50", Offset = "0x4EFD50", VA = "0x1804F0D50")]
|
||||
public StreamOverflowException()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009D3E RID: 40254 RVA: 0x00206498 File Offset: 0x00204698
|
||||
[Token(Token = "0x6009D3E")]
|
||||
[Address(RVA = "0x4F0D40", Offset = "0x4EFD40", VA = "0x1804F0D40")]
|
||||
public StreamOverflowException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009D3F RID: 40255 RVA: 0x002064AC File Offset: 0x002046AC
|
||||
[Token(Token = "0x6009D3F")]
|
||||
[Address(RVA = "0x4A7900", Offset = "0x4A6900", VA = "0x1804A7900")]
|
||||
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: 0x02001A1F RID: 6687
|
||||
[Token(Token = "0x2001A1F")]
|
||||
public sealed class Streams
|
||||
{
|
||||
// Token: 0x06009D40 RID: 40256 RVA: 0x002064C4 File Offset: 0x002046C4
|
||||
[Token(Token = "0x6009D40")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Streams()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06009D41 RID: 40257 RVA: 0x002064D8 File Offset: 0x002046D8
|
||||
[Token(Token = "0x6009D41")]
|
||||
[Address(RVA = "0x4F0D60", Offset = "0x4EFD60", VA = "0x1804F0D60")]
|
||||
public static void Drain(Stream inStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
}
|
||||
|
||||
// Token: 0x06009D42 RID: 40258 RVA: 0x002064F8 File Offset: 0x002046F8
|
||||
[Token(Token = "0x6009D42")]
|
||||
[Address(RVA = "0x4F1140", Offset = "0x4F0140", VA = "0x1804F1140")]
|
||||
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: 0x06009D43 RID: 40259 RVA: 0x00206528 File Offset: 0x00204728
|
||||
[Token(Token = "0x6009D43")]
|
||||
[Address(RVA = "0x4F0FD0", Offset = "0x4EFFD0", VA = "0x1804F0FD0")]
|
||||
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: 0x06009D44 RID: 40260 RVA: 0x0020655C File Offset: 0x0020475C
|
||||
[Token(Token = "0x6009D44")]
|
||||
[Address(RVA = "0x4F12D0", Offset = "0x4F02D0", VA = "0x1804F12D0")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf)
|
||||
{
|
||||
int num = buf.Length;
|
||||
int num2 = 0;
|
||||
if (num > 0)
|
||||
{
|
||||
num -= num2;
|
||||
}
|
||||
return num2;
|
||||
}
|
||||
|
||||
// Token: 0x06009D45 RID: 40261 RVA: 0x00206584 File Offset: 0x00204784
|
||||
[Token(Token = "0x6009D45")]
|
||||
[Address(RVA = "0x4F1240", Offset = "0x4F0240", VA = "0x1804F1240")]
|
||||
public static int ReadFully(Stream inStr, byte[] buf, int off, int len)
|
||||
{
|
||||
int num = 0;
|
||||
if (len > 0)
|
||||
{
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06009D46 RID: 40262 RVA: 0x002065A0 File Offset: 0x002047A0
|
||||
[Token(Token = "0x6009D46")]
|
||||
[Address(RVA = "0x4F0F10", Offset = "0x4EFF10", VA = "0x1804F0F10")]
|
||||
public static void PipeAll(Stream inStr, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x06009D47 RID: 40263 RVA: 0x002065C8 File Offset: 0x002047C8
|
||||
[Token(Token = "0x6009D47")]
|
||||
[Address(RVA = "0x4F0DF0", Offset = "0x4EFDF0", VA = "0x1804F0DF0")]
|
||||
public static long PipeAllLimited(Stream inStr, long limit, Stream outStr)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009D48 RID: 40264 RVA: 0x002065F0 File Offset: 0x002047F0
|
||||
[Token(Token = "0x6009D48")]
|
||||
[Address(RVA = "0x4F1350", Offset = "0x4F0350", VA = "0x1804F1350")]
|
||||
public static void WriteBufTo(MemoryStream buf, Stream output)
|
||||
{
|
||||
((IDisposable)buf).Dispose();
|
||||
}
|
||||
|
||||
// Token: 0x06009D49 RID: 40265 RVA: 0x0020660C File Offset: 0x0020480C
|
||||
[Token(Token = "0x6009D49")]
|
||||
[Address(RVA = "0x4F1380", Offset = "0x4F0380", VA = "0x1804F1380")]
|
||||
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: 0x06009D4A RID: 40266 RVA: 0x00206638 File Offset: 0x00204838
|
||||
[Token(Token = "0x6009D4A")]
|
||||
[Address(RVA = "0x4F1450", Offset = "0x4F0450", VA = "0x1804F1450")]
|
||||
public static void WriteZeroes(Stream outStr, long count)
|
||||
{
|
||||
byte[] array = new byte[512];
|
||||
int num = outStr.ReadByte();
|
||||
int num2 = outStr.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x04006A28 RID: 27176
|
||||
[Token(Token = "0x4006A28")]
|
||||
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: 0x02001A20 RID: 6688
|
||||
[Token(Token = "0x2001A20")]
|
||||
public class TeeInputStream : BaseInputStream
|
||||
{
|
||||
// Token: 0x06009D4B RID: 40267 RVA: 0x00206664 File Offset: 0x00204864
|
||||
[Token(Token = "0x6009D4B")]
|
||||
[Address(RVA = "0x4F1BB0", Offset = "0x4F0BB0", VA = "0x1804F1BB0")]
|
||||
public TeeInputStream(Stream input, Stream tee)
|
||||
{
|
||||
this.input = input;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06009D4C RID: 40268 RVA: 0x00206688 File Offset: 0x00204888
|
||||
[Token(Token = "0x6009D4C")]
|
||||
[Address(RVA = "0x4F1A20", Offset = "0x4F0A20", VA = "0x1804F1A20", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.input.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009D4D RID: 40269 RVA: 0x002066C0 File Offset: 0x002048C0
|
||||
[Token(Token = "0x6009D4D")]
|
||||
[Address(RVA = "0x4F1B20", Offset = "0x4F0B20", VA = "0x1804F1B20", 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: 0x06009D4E RID: 40270 RVA: 0x002066E8 File Offset: 0x002048E8
|
||||
[Token(Token = "0x6009D4E")]
|
||||
[Address(RVA = "0x4F1AC0", Offset = "0x4F0AC0", VA = "0x1804F1AC0", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
Stream stream = this.input;
|
||||
Stream stream2 = this.tee;
|
||||
int num;
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x04006A29 RID: 27177
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006A29")]
|
||||
private readonly Stream input;
|
||||
|
||||
// Token: 0x04006A2A RID: 27178
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006A2A")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
|
||||
{
|
||||
// Token: 0x02001A21 RID: 6689
|
||||
[Token(Token = "0x2001A21")]
|
||||
public class TeeOutputStream : BaseOutputStream
|
||||
{
|
||||
// Token: 0x06009D4F RID: 40271 RVA: 0x0020670C File Offset: 0x0020490C
|
||||
[Token(Token = "0x6009D4F")]
|
||||
[Address(RVA = "0x4F1DC0", Offset = "0x4F0DC0", VA = "0x1804F1DC0")]
|
||||
public TeeOutputStream(Stream output, Stream tee)
|
||||
{
|
||||
this.output = output;
|
||||
this.tee = tee;
|
||||
}
|
||||
|
||||
// Token: 0x06009D50 RID: 40272 RVA: 0x00206730 File Offset: 0x00204930
|
||||
[Token(Token = "0x6009D50")]
|
||||
[Address(RVA = "0x4F1C30", Offset = "0x4F0C30", VA = "0x1804F1C30", Slot = "15")]
|
||||
public override void Close()
|
||||
{
|
||||
int writeTimeout = this.output.WriteTimeout;
|
||||
int writeTimeout2 = this.tee.WriteTimeout;
|
||||
this.closed = true;
|
||||
base.Close();
|
||||
}
|
||||
|
||||
// Token: 0x06009D51 RID: 40273 RVA: 0x00206768 File Offset: 0x00204968
|
||||
[Token(Token = "0x6009D51")]
|
||||
[Address(RVA = "0x4F1D30", Offset = "0x4F0D30", VA = "0x1804F1D30", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
int num = this.output.ReadByte();
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x06009D52 RID: 40274 RVA: 0x00206794 File Offset: 0x00204994
|
||||
[Token(Token = "0x6009D52")]
|
||||
[Address(RVA = "0x4F1CD0", Offset = "0x4F0CD0", VA = "0x1804F1CD0", Slot = "30")]
|
||||
public override void WriteByte(byte b)
|
||||
{
|
||||
Stream stream = this.output;
|
||||
bool canRead = this.tee.CanRead;
|
||||
}
|
||||
|
||||
// Token: 0x04006A2B RID: 27179
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006A2B")]
|
||||
private readonly Stream output;
|
||||
|
||||
// Token: 0x04006A2C RID: 27180
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006A2C")]
|
||||
private readonly Stream tee;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user