scripts
This commit is contained in:
+64
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date
|
||||
{
|
||||
// Token: 0x02001377 RID: 4983
|
||||
[Token(Token = "0x2001377")]
|
||||
[StructLayout(3)]
|
||||
public sealed class DateTimeObject
|
||||
{
|
||||
// Token: 0x06007E07 RID: 32263 RVA: 0x001A74A8 File Offset: 0x001A56A8
|
||||
[Token(Token = "0x6007E07")]
|
||||
[Address(RVA = "0x1C5EF90", Offset = "0x1C5D990", VA = "0x181C5EF90")]
|
||||
public DateTimeObject(DateTime dt)
|
||||
{
|
||||
this.dt = dt;
|
||||
}
|
||||
|
||||
// Token: 0x17001479 RID: 5241
|
||||
// (get) Token: 0x06007E08 RID: 32264 RVA: 0x001A74C4 File Offset: 0x001A56C4
|
||||
[Token(Token = "0x17001479")]
|
||||
public DateTime Value
|
||||
{
|
||||
[Token(Token = "0x6007E08")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.dt;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06007E09 RID: 32265 RVA: 0x001A74D8 File Offset: 0x001A56D8
|
||||
[Token(Token = "0x6007E09")]
|
||||
[Address(RVA = "0x1C5EF70", Offset = "0x1C5D970", VA = "0x181C5EF70", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06007E09)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date.DateTimeObject::ToString()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:DateTime(var_0_06, ldfld:DateTime(DateTimeObject::dt, ldloc:DateTimeObject(this)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04005A4B RID: 23115
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4005A4B")]
|
||||
private readonly DateTime dt;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user