oh dear
This commit is contained in:
+70
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
|
||||
{
|
||||
// Token: 0x02001D3F RID: 7487
|
||||
[Token(Token = "0x2001D3F")]
|
||||
public class CmsProcessableByteArray : CmsProcessable, CmsReadable
|
||||
{
|
||||
// Token: 0x0600BD7D RID: 48509 RVA: 0x002B1C18 File Offset: 0x002AFE18
|
||||
[Token(Token = "0x600BD7D")]
|
||||
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
|
||||
public CmsProcessableByteArray(byte[] bytes)
|
||||
{
|
||||
this.bytes = bytes;
|
||||
}
|
||||
|
||||
// Token: 0x0600BD7E RID: 48510 RVA: 0x002B1C34 File Offset: 0x002AFE34
|
||||
[Token(Token = "0x600BD7E")]
|
||||
[Address(RVA = "0x1666EE0", Offset = "0x1665CE0", VA = "0x181666EE0", Slot = "7")]
|
||||
public virtual Stream GetInputStream()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600BD7E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.Stream BestHTTP.SecureProtocol.Org.BouncyCastle.Cms.CmsProcessableByteArray::GetInputStream()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:MemoryStream(var_0_0C, newobj:MemoryStream(MemoryStream::.ctor, ldfld:uint8[](CmsProcessableByteArray::bytes, ldloc:CmsProcessableByteArray(this)), ldloc:int32[exp:bool](var_1)))
|
||||
stloc:int32(var_1, ldc.i4:int32(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: 0x0600BD7F RID: 48511 RVA: 0x002B1C50 File Offset: 0x002AFE50
|
||||
[Token(Token = "0x600BD7F")]
|
||||
[Address(RVA = "0x1666F40", Offset = "0x1665D40", VA = "0x181666F40", Slot = "8")]
|
||||
public virtual void Write(Stream zOut)
|
||||
{
|
||||
byte[] array = this.bytes;
|
||||
int num = zOut.ReadByte();
|
||||
}
|
||||
|
||||
// Token: 0x0600BD80 RID: 48512 RVA: 0x002B1C74 File Offset: 0x002AFE74
|
||||
[Token(Token = "0x600BD80")]
|
||||
[Address(RVA = "0x1666EC0", Offset = "0x1665CC0", VA = "0x181666EC0", Slot = "9")]
|
||||
[Obsolete]
|
||||
public virtual object GetContent()
|
||||
{
|
||||
byte[] array = this.bytes;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040078AD RID: 30893
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40078AD")]
|
||||
private readonly byte[] bytes;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user